1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

Fix a type-punned warning

This commit is contained in:
Volker Lendecke 2009-04-23 18:05:51 +02:00
parent d9805878e2
commit a716606c27

View File

@ -88,7 +88,7 @@ static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx,
}
if (!convert_string_talloc(mem_ctx, CH_UTF16LE, CH_UNIX, data_in, n,
(void **)&data_out, &converted_size, false))
(void *)&data_out, &converted_size, false))
{
status = NT_STATUS_INVALID_BUFFER_SIZE;
goto out;