Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2008 00:01:16 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185037 - head/lib/libstand
Message-ID:  <200811180001.mAI01GXG061914@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue Nov 18 00:01:16 2008
New Revision: 185037
URL: http://svn.freebsd.org/changeset/base/185037

Log:
  Obey signedness flag in %z case.
  
  MFC after:	2 months

Modified:
  head/lib/libstand/printf.c

Modified: head/lib/libstand/printf.c
==============================================================================
--- head/lib/libstand/printf.c	Mon Nov 17 23:57:40 2008	(r185036)
+++ head/lib/libstand/printf.c	Tue Nov 18 00:01:16 2008	(r185037)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811180001.mAI01GXG061914>