From d2976ee67271e35d6d46c1478277a6717f13d9e0 Mon Sep 17 00:00:00 2001 From: venaas Date: Wed, 24 Sep 2008 13:54:12 +0000 Subject: hopefully removed some warnings git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@405 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- gconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gconfig.c') 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 -- cgit v1.1