summaryrefslogtreecommitdiff
path: root/gconfig.c
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
commitd2976ee67271e35d6d46c1478277a6717f13d9e0 (patch)
treeafac92f7f2ee5781f0fa31e72ee031fce330b84a /gconfig.c
parent54aff5808827796ed36a66383d479a313cf0fd0f (diff)
hopefully removed some warnings
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@405 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'gconfig.c')
-rw-r--r--gconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gconfig.c b/gconfig.c
index 636fcca..52e4e65 100644
--- a/gconfig.c
+++ b/gconfig.c
@@ -248,7 +248,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