summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-01 00:51:54 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-01 00:51:54 +0000
commit7226d4698ec32d40c86ea2aaa1de15d559a15e2a (patch)
tree010c5e5d4ab8a633dfe4ee603768be23b739e637 /source3/smbd
parent5c15a8d01696c2000dd3276e0bab54f2621a03cb (diff)
downloadsamba-7226d4698ec32d40c86ea2aaa1de15d559a15e2a.tar.gz
samba-7226d4698ec32d40c86ea2aaa1de15d559a15e2a.tar.bz2
samba-7226d4698ec32d40c86ea2aaa1de15d559a15e2a.zip
Use ints for the version numbers in the smb_register_*() functions (patch by metze)
(This used to be commit 3895571eeef81db7ce4c71e85b0be5c235b16efd)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index e33a8ccbe7..5fcf9a575e 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -153,7 +153,7 @@ static struct vfs_init_function_entry *vfs_find_backend_entry(const char *name)
return NULL;
}
-NTSTATUS smb_register_vfs(uint16 version, const char *name, vfs_op_tuple *(*init)(const struct vfs_ops *, struct smb_vfs_handle_struct *))
+NTSTATUS smb_register_vfs(int version, const char *name, vfs_op_tuple *(*init)(const struct vfs_ops *, struct smb_vfs_handle_struct *))
{
struct vfs_init_function_entry *entry = backends;