summaryrefslogtreecommitdiff
path: root/source4/ntvfs/unixuid
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-22 09:25:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:47 -0500
commit42c1ef4025186066660b1bb187d063e07bb493ff (patch)
treebc5429b51710ad4dc7028d2eac51e2734bb8b8ba /source4/ntvfs/unixuid
parent3527a578bae09430cd36ec5de3e29e82ce616c18 (diff)
downloadsamba-42c1ef4025186066660b1bb187d063e07bb493ff.tar.gz
samba-42c1ef4025186066660b1bb187d063e07bb493ff.tar.bz2
samba-42c1ef4025186066660b1bb187d063e07bb493ff.zip
r23067: use 'const union smb_search_data *file' also in the server code to get rid
of compiler warnings in the cifs backend metze (This used to be commit 34ef07b1f5acdad27edd80de8de4c6de7f879f9b)
Diffstat (limited to 'source4/ntvfs/unixuid')
-rw-r--r--source4/ntvfs/unixuid/vfs_unixuid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/unixuid/vfs_unixuid.c b/source4/ntvfs/unixuid/vfs_unixuid.c
index b430d3048b..56df008c2a 100644
--- a/source4/ntvfs/unixuid/vfs_unixuid.c
+++ b/source4/ntvfs/unixuid/vfs_unixuid.c
@@ -592,7 +592,7 @@ static NTSTATUS unixuid_lpq(struct ntvfs_module_context *ntvfs,
static NTSTATUS unixuid_search_first(struct ntvfs_module_context *ntvfs,
struct ntvfs_request *req, union smb_search_first *io,
void *search_private,
- BOOL (*callback)(void *, union smb_search_data *))
+ BOOL (*callback)(void *, const union smb_search_data *))
{
NTSTATUS status;
@@ -605,7 +605,7 @@ static NTSTATUS unixuid_search_first(struct ntvfs_module_context *ntvfs,
static NTSTATUS unixuid_search_next(struct ntvfs_module_context *ntvfs,
struct ntvfs_request *req, union smb_search_next *io,
void *search_private,
- BOOL (*callback)(void *, union smb_search_data *))
+ BOOL (*callback)(void *, const union smb_search_data *))
{
NTSTATUS status;