1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-08 13:49:29 +03:00

r23865: Fix a type-punned error

(This used to be commit a40d3a566a)
This commit is contained in:
Volker Lendecke
2007-07-13 11:36:55 +00:00
committed by Gerald (Jerry) Carter
parent 894a02ef4d
commit 6eca5f5042

View File

@ -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;