diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/snprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c index 8ff76ab116..1cede3b27c 100644 --- a/source3/lib/snprintf.c +++ b/source3/lib/snprintf.c @@ -629,7 +629,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args break; case CNK_PTR: - cnk->strvalue = va_arg (args, void *); + cnk->strvalue = (char *)va_arg (args, void *); for (i = 1; i < clist[pnum].num; i++) { clist[pnum].chunks[i]->strvalue = cnk->strvalue; } |