From ce378e7c51913c1b110e62dc35c205d8d2fad58a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 19 Jul 2009 02:32:44 +0200 Subject: Fix a few type errors in VFS modules --- source3/modules/vfs_default.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/modules/vfs_default.c') 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; -- cgit