summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-24 13:54:12 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-24 13:54:12 +0000
commit8d216ea2e04ef62540d3d2b46686bd1064fc781f (patch)
treedd976cdba1ed5ea405fa88e5ef8b3e0fdfdaea25
parentfcbc61400c17d963bcdc546192520869058ac171 (diff)
hopefully removed some warnings
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@405 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--gconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gconfig.c b/gconfig.c
index 73cf73d..53d8c1e 100644
--- a/gconfig.c
+++ b/gconfig.c
@@ -364,7 +364,7 @@ uint8_t hexdigit2int(char d) {
void unhex(char *s) {
char *t;
for (t = s; *t; s++) {
- if (*t == '%' && isxdigit(t[1]) && isxdigit(t[2])) {
+ if (*t == '%' && isxdigit((int)t[1]) && isxdigit((int)t[2])) {
*s = 16 * hexdigit2int(t[1]) + hexdigit2int(t[2]);
t += 3;
} else