diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-12 16:27:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-12 16:27:24 +0000 |
commit | 8c5358013e78f9e98f363d1450eaba67fd468180 (patch) | |
tree | 187506576dbeab61ccc850fce71c86749bc03682 /c/src/libchip/network/i82586.c | |
parent | 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-8c5358013e78f9e98f363d1450eaba67fd468180.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | c/src/libchip/network/i82586.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c index 9a09d0284b..9c5360b3e1 100644 --- a/c/src/libchip/network/i82586.c +++ b/c/src/libchip/network/i82586.c @@ -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'; |