libstand/printf.c: Oops, fix a braino.
authorSascha Wildner <saw@online.de>
Tue, 1 Mar 2011 19:58:44 +0000 (20:58 +0100)
committerSascha Wildner <saw@online.de>
Tue, 1 Mar 2011 19:58:44 +0000 (20:58 +0100)
lib/libstand/printf.c

index 5ba81f5..0b33cd4 100644 (file)
@@ -431,7 +431,7 @@ handle_nosign:
                        else if (lflag)
                                num = va_arg(ap, u_long);
                        else if (zflag)
-                               num = va_arg(ap, ssize_t);
+                               num = va_arg(ap, size_t);
                        else if (hflag)
                                num = (u_short)va_arg(ap, int);
                        else if (cflag)
@@ -449,7 +449,7 @@ handle_sign:
                        else if (lflag)
                                num = va_arg(ap, long);
                        else if (zflag)
-                               num = va_arg(ap, size_t);
+                               num = va_arg(ap, ssize_t);
                        else if (hflag)
                                num = (short)va_arg(ap, int);
                        else if (cflag)