Author: vlendec Date: 2006-08-27 10:46:19 +0000 (Sun, 27 Aug 2006) New Revision: 17849
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17849 Log: Next round for RPC-SAMBA3-SHARESEC 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-27 10:08:18 UTC (rev 17848) +++ branches/SAMBA_4_0/source/lib/replace/snprintf.c 2006-08-27 10:46:19 UTC (rev 17849) @@ -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 = (long)va_arg (args, unsigned long int); + cnk->value = (unsigned long)va_arg (args, unsigned long int); else if (cnk->cflags == DP_C_LLONG) cnk->value = (LLONG)va_arg (args, unsigned LLONG); else - cnk->value = (long)va_arg (args, unsigned int); + cnk->value = (unsigned long)va_arg (args, unsigned int); for (i = 1; i < clist[pnum].num; i++) { clist[pnum].chunks[i]->value = cnk->value;