diff options
Diffstat (limited to 'source3/lib/dprintf.c')
-rw-r--r-- | source3/lib/dprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dprintf.c b/source3/lib/dprintf.c index 8ed2fa5d8c..2312c3db0c 100644 --- a/source3/lib/dprintf.c +++ b/source3/lib/dprintf.c @@ -54,7 +54,7 @@ charset, but beware of it growing */ maxlen = ret*2; again: - p2 = SMB_MALLOC(maxlen); + p2 = (char *)SMB_MALLOC(maxlen); if (!p2) { SAFE_FREE(p); return -1; |