summaryrefslogtreecommitdiff
path: root/source3/lib/snprintf.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-04 09:51:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:43:23 -0500
commit6655e1e997fa96408ce257f1c96773db4551f69f (patch)
tree485a5b6dd5aa1696d74d84c9250573b80da5d6d5 /source3/lib/snprintf.c
parentf5906de76db2ba8c95af3da34a283de3da21ec0f (diff)
downloadsamba-6655e1e997fa96408ce257f1c96773db4551f69f.tar.gz
samba-6655e1e997fa96408ce257f1c96773db4551f69f.tar.bz2
samba-6655e1e997fa96408ce257f1c96773db4551f69f.zip
r18029: More C++ stuff
(This used to be commit 089b51e28cc5e3674e4edf5464c7a15673c5ec0f)
Diffstat (limited to 'source3/lib/snprintf.c')
-rw-r--r--source3/lib/snprintf.c2
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;
}