diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5ls.c | 4 |
1 files 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); } |