From 42755ceb629050c6812a65a6d9f970187e8a41d7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 16 May 1998 20:21:06 +0000 Subject: [PATCH] cast for losing Solaris --- src/printf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/printf.c b/src/printf.c index c86108c9e5..be7c33b42e 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) -- 2.47.3