From 3f100a597601ec5d8cc029dd99c925fc6b373e10 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 16 Nov 2007 14:48:26 +0100 Subject: Fix a type-punned warning (This used to be commit 4c992e4340eda31e686a2d2a8db6364aaa456c11) --- source3/lib/util_unistr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/util_unistr.c') 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; -- cgit