Fix: tap array subscript has type char warning
[userspace-rcu.git] / tests / utils / tap.c
index 6acab66c841aea101d8e247cba60ef9a33101af7..ee1fdb078cce4376786b9c8068ff9b450b495f7f 100644 (file)
@@ -95,7 +95,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.023214 seconds and 4 git commands to generate.