Fix: tap array subscript has type char warning
[urcu.git] / tests / utils / tap.c
index 573ae3366faca1a2a8b51957ff42df4eb2252819..3e384d6077c74fe2943a24afe90091d733c81b1b 100644 (file)
@@ -94,7 +94,8 @@ _gen_result(int ok, const char *func, char *file, unsigned int line,
                if(local_test_name) {
                        name_is_digits = 1;
                        for(c = local_test_name; *c != '\0'; c++) {
-                               if(!isdigit(*c) && !isspace(*c)) {
+                               if(!isdigit((unsigned char)*c) &&
+                                               !isspace((unsigned char)*c)) {
                                        name_is_digits = 0;
                                        break;
                                }
This page took 0.02258 seconds and 4 git commands to generate.