summaryrefslogtreecommitdiff
path: root/extra/config/confdata.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-08 02:28:40 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-08 02:28:40 +0000
commita0af35a9dbefe36440fcd6b603a89cf21041c0a1 (patch)
tree4b595e16b3b45ab00fde5cd89076de48bf9aefb2 /extra/config/confdata.c
parent92e03da6a446faa5ad8946fc90794e918db90454 (diff)
Some minor changes from Stefan Allius to make conf and
mconf compile under Solaris.
Diffstat (limited to 'extra/config/confdata.c')
-rw-r--r--extra/config/confdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/config/confdata.c b/extra/config/confdata.c
index d3df3ab34..9e413b4a3 100644
--- a/extra/config/confdata.c
+++ b/extra/config/confdata.c
@@ -40,7 +40,7 @@ static char *conf_expand_value(const char *in)
strncat(res_value, in, src - in);
src++;
dst = name;
- while (isalnum(*src) || *src == '_')
+ while (isalnum((int)*src) || *src == '_')
*dst++ = *src++;
*dst = 0;
sym = sym_lookup(name, 0);