diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-02-06 20:47:23 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-02-06 20:47:23 -0500 |
commit | 97ebcb517f30f8f46f174aa9847f02a59a330adc (patch) | |
tree | 2aa12e67b820ee44300da665773b3efe254caa0d /src/c/cgi.c | |
parent | 9105d173c5d8fff3ed91c5b0a22642abfa2fbd90 (diff) |
More fixes for NetBSD support
Diffstat (limited to 'src/c/cgi.c')
-rw-r--r-- | src/c/cgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/cgi.c b/src/c/cgi.c index 98ad7479..e71b7e1c 100644 --- a/src/c/cgi.c +++ b/src/c/cgi.c @@ -25,7 +25,7 @@ static char *get_header(void *data, const char *h) { strcpy(uppercased, "HTTP_"); for (s = uppercased+5; *h; ++h) - *s++ = *h == '-' ? '_' : toupper(*h); + *s++ = *h == '-' ? '_' : toupper((int)*h); *s = 0; if ((r = getenv(uppercased))) |