projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
str: fix tests on unsigned chars, and !HAVE_ISBLANK.
[ccan]
/
ccan
/
str
/
test
/
compile_fail-isxdigit.c
diff --git
a/ccan/str/test/compile_fail-isxdigit.c
b/ccan/str/test/compile_fail-isxdigit.c
index 6a7377fd6d16862a7efad1b90a9b2bbd5c80123f..65e6006a885b029ae7cec620a44aebd652567e22 100644
(file)
--- a/
ccan/str/test/compile_fail-isxdigit.c
+++ b/
ccan/str/test/compile_fail-isxdigit.c
@@
-15,8
+15,7
@@
int main(int argc, char *argv[])
#ifdef FAIL
/* Fake fail on unsigned char platforms. */
- c = 255;
- BUILD_ASSERT(c < 0);
+ BUILD_ASSERT((char)255 < 0);
#endif
return isxdigit(c);