diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-03-29 10:28:10 +0000 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-03-29 10:28:10 +0000 |
commit | ec14ec47f76b7537260034034bc44454de6e47c1 (patch) | |
tree | fd0341f090a935da89ff5c0a4a6111e676742b9b /test/cairo-test-trace.c | |
parent | d2b44eccb7d72fd8a2c0c511682ea3cc7f572179 (diff) | |
parent | b1ccd521835abd2af2c9833f2b155e32d3ee282d (diff) | |
download | cairo-ec14ec47f76b7537260034034bc44454de6e47c1.tar.gz |
Merge branch 'riastradh-20220406-ctype-misuse' into 'master'
Avoid misuse of ctype(3) functions
See merge request cairo/cairo!309
Diffstat (limited to 'test/cairo-test-trace.c')
-rw-r--r-- | test/cairo-test-trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |