Hi, the patches for snprintf.c I've sent a while ago haven't been applied yet. So here they're again for the current 1.4.2 snprintf.c -- Christian
--- snprintf.c Thu Feb 12 19:32:35 2004
+++ snprintf.c Thu Feb 12 19:37:57 2004
@@ -247,7 +247,7 @@
case 'd':
case 'i':
if (cflags == DP_C_SHORT)
- value = va_arg (args, short int);
+ value = va_arg (args, int);
else if (cflags == DP_C_LONG)
value = va_arg (args, long int);
else
@@ -257,7 +257,7 @@
case 'o':
flags |= DP_F_UNSIGNED;
if (cflags == DP_C_SHORT)
- value = va_arg (args, unsigned short int);
+ value = va_arg (args, unsigned int);
else if (cflags == DP_C_LONG)
value = va_arg (args, unsigned long int);
else
@@ -267,7 +267,7 @@
case 'u':
flags |= DP_F_UNSIGNED;
if (cflags == DP_C_SHORT)
- value = va_arg (args, unsigned short int);
+ value = va_arg (args, unsigned int);
else if (cflags == DP_C_LONG)
value = va_arg (args, unsigned long int);
else
@@ -279,7 +279,7 @@
case 'x':
flags |= DP_F_UNSIGNED;
if (cflags == DP_C_SHORT)
- value = va_arg (args, unsigned short int);
+ value = va_arg (args, unsigned int);
else if (cflags == DP_C_LONG)
value = va_arg (args, unsigned long int);
else
Attachment:
pgpQL3F6PI3Wt.pgp
Description: PGP signature