summaryrefslogtreecommitdiff
path: root/source3/registry/reg_parse_internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_parse_internal.c')
-rw-r--r--source3/registry/reg_parse_internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_parse_internal.c b/source3/registry/reg_parse_internal.c
index 995bc96275..64c4e06622 100644
--- a/source3/registry/reg_parse_internal.c
+++ b/source3/registry/reg_parse_internal.c
@@ -44,7 +44,7 @@ size_t iconvert_talloc(const void* ctx,
if (dst == NULL) {
/* dstlen = 2*srclen + 2; */
dstlen = srclen;
- dst = talloc_size(ctx, dstlen);
+ dst = (char *)talloc_size(ctx, dstlen);
if (dst == NULL) {
DEBUG(0,("iconver_talloc no mem\n"));
return -1;