summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_default.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-19 02:32:44 +0200
committerVolker Lendecke <vl@samba.org>2009-07-19 02:36:59 +0200
commitce378e7c51913c1b110e62dc35c205d8d2fad58a (patch)
tree1888c8cf4ecc81e390fa49d77ecb9aa3ae24adef /source3/modules/vfs_default.c
parent27087e6a878aa216d73ea629535be49fca10315f (diff)
downloadsamba-ce378e7c51913c1b110e62dc35c205d8d2fad58a.tar.gz
samba-ce378e7c51913c1b110e62dc35c205d8d2fad58a.tar.bz2
samba-ce378e7c51913c1b110e62dc35c205d8d2fad58a.zip
Fix a few type errors in VFS modules
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r--source3/modules/vfs_default.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index c4db8fa393..bb7853b926 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1102,7 +1102,8 @@ static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_handle,
return NT_STATUS_OK;
}
-static int vfswrap_chflags(vfs_handle_struct *handle, const char *path, int flags)
+static int vfswrap_chflags(vfs_handle_struct *handle, const char *path,
+ unsigned int flags)
{
#ifdef HAVE_CHFLAGS
return chflags(path, flags);
@@ -1113,7 +1114,7 @@ static int vfswrap_chflags(vfs_handle_struct *handle, const char *path, int flag
}
static struct file_id vfswrap_file_id_create(struct vfs_handle_struct *handle,
- SMB_STRUCT_STAT *sbuf)
+ const SMB_STRUCT_STAT *sbuf)
{
struct file_id key;