diff options
| -rw-r--r-- | perf/cairo-analyse-trace.c | 4 | ||||
| -rw-r--r-- | perf/cairo-perf-trace.c | 4 | ||||
| -rw-r--r-- | test/cairo-test-trace.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/perf/cairo-analyse-trace.c b/perf/cairo-analyse-trace.c index 6dbe7cf4b..dda33a2e0 100644 --- a/perf/cairo-analyse-trace.c +++ b/perf/cairo-analyse-trace.c @@ -290,11 +290,11 @@ read_excludes (cairo_perf_t *perf, /* whitespace delimits */ s = line; - while (*s != '\0' && isspace (*s)) + while (*s != '\0' && isspace ((unsigned char)*s)) s++; t = s; - while (*t != '\0' && ! isspace (*t)) + while (*t != '\0' && ! isspace ((unsigned char)*t)) t++; if (s != t) { diff --git a/perf/cairo-perf-trace.c b/perf/cairo-perf-trace.c index cfabcaad0..991a8a5e0 100644 --- a/perf/cairo-perf-trace.c +++ b/perf/cairo-perf-trace.c @@ -407,11 +407,11 @@ read_excludes (cairo_perf_t *perf, /* whitespace delimits */ s = line; - while (*s != '\0' && isspace (*s)) + while (*s != '\0' && isspace ((unsigned char)*s)) s++; t = s; - while (*t != '\0' && ! isspace (*t)) + while (*t != '\0' && ! isspace ((unsigned char)*t)) t++; if (s != t) { diff --git a/test/cairo-test-trace.c b/test/cairo-test-trace.c index 3ca82c4b7..78e822cf1 100644 --- a/test/cairo-test-trace.c +++ b/test/cairo-test-trace.c @@ -1515,11 +1515,11 @@ read_excludes (test_trace_t *test, const char *filename) /* whitespace delimits */ s = line; - while (*s != '\0' && isspace (*s)) + while (*s != '\0' && isspace ((unsigned char)*s)) s++; t = s; - while (*t != '\0' && ! isspace (*t)) + while (*t != '\0' && ! isspace ((unsigned char)*t)) t++; if (s != t) { |
