projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcbc614
)
hopefully removed some warnings
author
venaas
<venaas>
Wed, 24 Sep 2008 13:54:12 +0000
(13:54 +0000)
committer
venaas
<venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 24 Sep 2008 13:54:12 +0000
(13:54 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@405
e88ac4ed
-0b26-0410-9574-
a7f39faa03bf
gconfig.c
patch
|
blob
|
history
diff --git
a/gconfig.c
b/gconfig.c
index
73cf73d
..
53d8c1e
100644
(file)
--- 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