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:
parent
d9805878e2
commit
a716606c27
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user