summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-09 14:23:16 +0100
committerStefan Metzmacher <metze@samba.org>2007-11-09 15:16:26 +0100
commit637f9d9bf0947600e612057ddcd9caf137b9698e (patch)
treeb78cf1f0c36fdae4533b9ac2e79e980170c40679 /source3/smbd
parent333d83e1eec332e8d135e6538eb519b1ebb755de (diff)
downloadsamba-637f9d9bf0947600e612057ddcd9caf137b9698e.tar.gz
samba-637f9d9bf0947600e612057ddcd9caf137b9698e.tar.bz2
samba-637f9d9bf0947600e612057ddcd9caf137b9698e.zip
Fix some warnings
(This used to be commit 0a1f524e8cce9bbe4fd10467c1f64f7a8862d298)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 24497de69a..5601a7fb6e 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -190,7 +190,7 @@ ssize_t receive_smb_raw_talloc_partial_read(TALLOC_CTX *mem_ctx,
/* Copy the header we've written. */
- *buffer = TALLOC_MEMDUP(mem_ctx,
+ *buffer = (char *)TALLOC_MEMDUP(mem_ctx,
writeX_header,
sizeof(writeX_header));