1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>

* stdio-common/vfprintf.c: Correct handling of unsigned short
	values.

	* extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
	$(common-objpfx).
	* Makerules [install-lib.a]: Find them there.
This commit is contained in:
Roland McGrath
1996-05-13 23:50:14 +00:00
parent dfc34677ea
commit 70c7151893
2 changed files with 12 additions and 1 deletions

View File

@ -495,8 +495,10 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
{ \
if (is_long) \
number.word = va_arg (ap, unsigned long int); \
else if (!is_short) \
number.word = va_arg (ap, unsigned int); \
else \
number.word = va_arg (ap, unsigned int); /* Promoted. */ \
number.word = (unsigned short int) va_arg (ap, unsigned int); \
\
LABEL (number): \
if (prec < 0) \