git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bcf44c
)
libgpo: Remove unnecessary cast
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Wed, 9 Aug 2023 04:52:46 +0000
(16:52 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 14 Sep 2023 21:35:28 +0000
(21:35 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libgpo/gpo_ini.c
patch
|
blob
|
history
diff --git
a/libgpo/gpo_ini.c
b/libgpo/gpo_ini.c
index c1b1698b184d82c9ad08739980c94fba737443b3..66f743e52a0b522e7278e40ec1de9666c0e89d22 100644
(file)
--- a/
libgpo/gpo_ini.c
+++ b/
libgpo/gpo_ini.c
@@
-119,7
+119,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))
+ &data_out, &converted_size))
{
status = NT_STATUS_INVALID_BUFFER_SIZE;
goto out;