summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-16 14:48:26 +0100
committerVolker Lendecke <vl@sernet.de>2007-11-22 16:00:13 +0100
commit3f100a597601ec5d8cc029dd99c925fc6b373e10 (patch)
tree9a32b39739834c6bd0077c25ae15db76c1950095 /source3
parent64b54e534008a1ac36b9ba21726ca0954fe00d63 (diff)
downloadsamba-3f100a597601ec5d8cc029dd99c925fc6b373e10.tar.gz
samba-3f100a597601ec5d8cc029dd99c925fc6b373e10.tar.bz2
samba-3f100a597601ec5d8cc029dd99c925fc6b373e10.zip
Fix a type-punned warning
(This used to be commit 4c992e4340eda31e686a2d2a8db6364aaa456c11)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_unistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index 45f09da85b..bd2cd73cc4 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -365,7 +365,7 @@ char *rpcstr_pull_unistr2_talloc(TALLOC_CTX *ctx, const UNISTR2 *src)
CH_UNIX,
src->buffer,
src->uni_str_len * 2,
- (void **)&dest,
+ (void *)&dest,
true);
if (dest_len == (size_t)-1) {
return NULL;