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:
546d165
)
Fix a type-punned warning
author
Volker Lendecke
<vl@samba.org>
Thu, 23 Apr 2009 12:14:37 +0000
(14:14 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 23 Apr 2009 12:35:50 +0000
(14:35 +0200)
source3/lib/util_reg_api.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_reg_api.c
b/source3/lib/util_reg_api.c
index 9313193f10e3c75ca2f52df52017286e30bb472f..56ecc5472d493a508c7d72598dd8fa4e147fecba 100644
(file)
--- a/
source3/lib/util_reg_api.c
+++ b/
source3/lib/util_reg_api.c
@@
-92,7
+92,7
@@
WERROR registry_pull_value(TALLOC_CTX *mem_ctx,
}
if (!convert_string_talloc(value, CH_UTF16LE, CH_UNIX, tmp,
- length+2, (void *
*
)&value->v.sz.str,
+ length+2, (void *)&value->v.sz.str,
&value->v.sz.len, False)) {
SAFE_FREE(tmp);
err = WERR_INVALID_PARAM;