diff options
author | Jim Meyering <jim@meyering.net> | 1998-05-16 20:21:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-05-16 20:21:06 +0000 |
commit | 42755ceb629050c6812a65a6d9f970187e8a41d7 (patch) | |
tree | 921a5aeb4e8db634cdbfeb6983bb57a243c9c83c /src | |
parent | 8f03befb52744180104332fbf631e4128977c7a7 (diff) | |
download | coreutils-42755ceb629050c6812a65a6d9f970187e8a41d7.tar.xz |
cast for losing Solaris
Diffstat (limited to 'src')
-rw-r--r-- | src/printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printf.c b/src/printf.c index c86108c9e..be7c33b42 100644 --- a/src/printf.c +++ b/src/printf.c @@ -1,5 +1,5 @@ /* printf - format and print data - Copyright (C) 90,91,92,93,94,95,96,1997 Free Software Foundation, Inc. + Copyright (C) 90,91,92,93,94,95,96,97,1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -224,7 +224,7 @@ print_esc (const char *escstart) if (*p == 'x') { for (esc_length = 0, ++p; - esc_length < 3 && ISXDIGIT (*p); + esc_length < 3 && ISXDIGIT (*(const unsigned char*)p); ++esc_length, ++p) esc_value = esc_value * 16 + hextobin (*p); if (esc_length == 0) |