summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-16 20:29:41 +0100
committerVolker Lendecke <vl@samba.org>2008-01-16 20:29:41 +0100
commitc308d76305d0a598ce03c516ff0c3b3a8875c89c (patch)
tree1f3adc7fadd2a5a26effaf45a5954f383def0e94 /source3/modules
parentb0950557f90129b5cd51faf74dbf5d58a8f4d6b9 (diff)
downloadsamba-c308d76305d0a598ce03c516ff0c3b3a8875c89c.tar.gz
samba-c308d76305d0a598ce03c516ff0c3b3a8875c89c.tar.bz2
samba-c308d76305d0a598ce03c516ff0c3b3a8875c89c.zip
Fix some C++ warnings
(This used to be commit 625241c4773ae5c80dd0cb0c07a86aff633c1ede)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_shadow_copy2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 54fc672b9c..ddbc5aab18 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -345,7 +345,7 @@ static int shadow_copy2_open(vfs_handle_struct *handle,
static SMB_STRUCT_DIR *shadow_copy2_opendir(vfs_handle_struct *handle,
const char *fname, const char *mask, uint32 attr)
{
- SHADOW2_NEXT(OPENDIR, (handle, name, mask, attr), void*, NULL);
+ SHADOW2_NEXT(OPENDIR, (handle, name, mask, attr), SMB_STRUCT_DIR *, NULL);
}
static int shadow_copy2_stat(vfs_handle_struct *handle,
@@ -413,7 +413,7 @@ static int shadow_copy2_mknod(vfs_handle_struct *handle,
static char *shadow_copy2_realpath(vfs_handle_struct *handle,
const char *fname, char *resolved_path)
{
- SHADOW2_NEXT(REALPATH, (handle, name, resolved_path), void*, NULL);
+ SHADOW2_NEXT(REALPATH, (handle, name, resolved_path), char *, NULL);
}
static NTSTATUS shadow_copy2_get_nt_acl(vfs_handle_struct *handle,