summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ipc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-26 22:09:44 +0200
committerGünther Deschner <gd@samba.org>2010-04-26 22:53:00 +0200
commitaae716d044081e5e1315de4abf22dbeb9d32a18e (patch)
tree751602af1b2086929bafa8cc9fdbaea29ad5a0e7 /source4/ntvfs/ipc
parentdbfff90185daecfa452520276c8cabdce3b1c616 (diff)
downloadsamba-aae716d044081e5e1315de4abf22dbeb9d32a18e.tar.gz
samba-aae716d044081e5e1315de4abf22dbeb9d32a18e.tar.bz2
samba-aae716d044081e5e1315de4abf22dbeb9d32a18e.zip
s4: fix some build warnings.
Guenther
Diffstat (limited to 'source4/ntvfs/ipc')
-rw-r--r--source4/ntvfs/ipc/rap_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/ipc/rap_server.c b/source4/ntvfs/ipc/rap_server.c
index 825a17fd12..b919cbcb20 100644
--- a/source4/ntvfs/ipc/rap_server.c
+++ b/source4/ntvfs/ipc/rap_server.c
@@ -65,7 +65,7 @@ NTSTATUS rap_netshareenum(TALLOC_CTX *mem_ctx,
DEBUG(3, ("WARNING: Service [%s] disappeared after enumeration!\n", snames[i]));
continue;
}
- strncpy(r->out.info[j].info1.share_name,
+ strncpy((char *)r->out.info[j].info1.share_name,
snames[i],
sizeof(r->out.info[0].info1.share_name));
r->out.info[i].info1.reserved1 = 0;