2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>

* libchip/network/i82586.c: Readdress use of ctype methods per
	recommendation from D.J. Delorie on the newlib mailing list. We
	should pass an unsigned char into these methods.
This commit is contained in:
Joel Sherrill
2010-03-12 16:27:24 +00:00
parent 438997f6a4
commit 8c5358013e
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/i82586.c: Readdress use of ctype methods per
recommendation from D.J. Delorie on the newlib mailing list. We
should pass an unsigned char into these methods.
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/ide/ide_controller.c: Fix warnings for uninitialized

View File

@@ -246,7 +246,7 @@ char *bitmask_snprintf(unsigned long value, const char *format, char *buf, int b
while (*format)
{
if (value & 0x80000000)
while (isalnum((int)*format))
while (isalnum((unsigned char)*format))
*b++ = *format;
else
*b++ = '0';