svn commit: samba r17884 - in
branches/SAMBA_4_0/source/lib/replace: .
vlendec at samba.org
vlendec at samba.org
Mon Aug 28 14:38:48 GMT 2006
Author: vlendec
Date: 2006-08-28 14:38:47 +0000 (Mon, 28 Aug 2006)
New Revision: 17884
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17884
Log:
Shape up the snprintf fix after Metzes comments
Modified:
branches/SAMBA_4_0/source/lib/replace/snprintf.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/snprintf.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/snprintf.c 2006-08-28 14:06:23 UTC (rev 17883)
+++ branches/SAMBA_4_0/source/lib/replace/snprintf.c 2006-08-28 14:38:47 UTC (rev 17884)
@@ -589,11 +589,11 @@
if (cnk->cflags == DP_C_SHORT)
cnk->value = va_arg (args, unsigned int);
else if (cnk->cflags == DP_C_LONG)
- cnk->value = (unsigned long)va_arg (args, unsigned long int);
+ cnk->value = (unsigned long int)va_arg (args, unsigned long int);
else if (cnk->cflags == DP_C_LLONG)
cnk->value = (LLONG)va_arg (args, unsigned LLONG);
else
- cnk->value = (unsigned long)va_arg (args, unsigned int);
+ cnk->value = (unsigned int)va_arg (args, unsigned int);
for (i = 1; i < clist[pnum].num; i++) {
clist[pnum].chunks[i]->value = cnk->value;
More information about the samba-cvs
mailing list