projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: cast arguments to character classification functions to unsigned char
[babeltrace.git]
/
tests
/
utils
/
tap
/
tap.c
diff --git
a/tests/utils/tap/tap.c
b/tests/utils/tap/tap.c
index 7d5920ac89f5b83891e7aa4e10b6fe7843112e3d..8e9f9a645fc38c2ec09a972b1b8d45fbcccb891c 100644
(file)
--- a/
tests/utils/tap/tap.c
+++ b/
tests/utils/tap/tap.c
@@
-109,7
+109,7
@@
_gen_result(int ok, const char *func, const 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.025053 seconds
and
4
git commands to generate.