summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-11-18 00:01:16 +0000
committerdelphij <delphij@FreeBSD.org>2008-11-18 00:01:16 +0000
commit256094d468d2d7dce899e9f78283e381132e7c24 (patch)
tree4ae277c1fbcf5818538e300eb44a0406496f629e
parent39ade9204da1551bd876825b040820bfdef173a1 (diff)
downloadFreeBSD-src-256094d468d2d7dce899e9f78283e381132e7c24.zip
FreeBSD-src-256094d468d2d7dce899e9f78283e381132e7c24.tar.gz
Obey signedness flag in %z case.
MFC after: 2 months
-rw-r--r--lib/libstand/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/printf.c b/lib/libstand/printf.c
index 5664282..5a2b5dd 100644
--- a/lib/libstand/printf.c
+++ b/lib/libstand/printf.c
@@ -381,7 +381,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
num = va_arg(ap, int);
number:
OpenPOWER on IntegriCloud