From: Volker Lendecke Date: Fri, 13 Jul 2007 11:36:55 +0000 (+0000) Subject: r23865: Fix a type-punned error X-Git-Tag: samba-misc-tags/initial-v3-2-unstable~726 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a40d3a566af88464fc6afd2c6e6e8b6e3a98aac2;p=thirdparty%2Fsamba.git r23865: Fix a type-punned error --- diff --git a/source/lib/charcnv.c b/source/lib/charcnv.c index b71e15f44d4..30941dd7e8e 100644 --- a/source/lib/charcnv.c +++ b/source/lib/charcnv.c @@ -1383,7 +1383,7 @@ static size_t pull_ucs2_base_talloc(TALLOC_CTX *ctx, CH_UNIX, src, src_len, - (void **)&dest, + (void *)&dest, True); if (dest_len == (size_t)-1) { return 0;