forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user