From 3ddb0009bcf8aa00f1f647f8e21c78e137778c09 Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Mon, 27 Sep 1999 11:11:15 -0500 Subject: [svn-r1668] same fixes that were done on the release branch. just casted the isdigit and isprintf parameter --- tools/h5ls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/h5ls.c b/tools/h5ls.c index d245cc5..9beb469 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -257,7 +257,7 @@ display_string(FILE *stream, const char *s, hbool_t escape_spaces) } break; default: - if (isprint(*s)) { + if (isprint((int)*s)) { if (stream) putc(*s, stream); nprint++; } else { @@ -1786,7 +1786,7 @@ get_width(void) * Try to get it from the COLUMNS environment variable first since it's * value is sometimes wrong. */ - if ((s=getenv("COLUMNS")) && *s && isdigit(*s)) { + if ((s=getenv("COLUMNS")) && *s && isdigit((int)*s)) { width = (int)strtol(s, NULL, 0); } -- cgit v0.12