summaryrefslogtreecommitdiff
path: root/libexec/httpd
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2017-10-05 04:22:41 +0000
committermrg <mrg@NetBSD.org>2017-10-05 04:22:41 +0000
commite7d8b5d9cebe8c867d2be2cfd9b204cd8d94ebbc (patch)
tree394fcb646f8ff20e56dbc480bd9a8e17ffd61110 /libexec/httpd
parent1ae2b2ffd44f26e89d0feb8059bd07777c0799e9 (diff)
s/u_int/unsigned/.
from Jan Danielsson. increases/fixes portability.
Diffstat (limited to 'libexec/httpd')
-rw-r--r--libexec/httpd/cgi-bozo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/httpd/cgi-bozo.c b/libexec/httpd/cgi-bozo.c
index 255dab6afe0..0989192aa6b 100644
--- a/libexec/httpd/cgi-bozo.c
+++ b/libexec/httpd/cgi-bozo.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cgi-bozo.c,v 1.37 2017/01/31 14:36:09 mrg Exp $ */
+/* $NetBSD: cgi-bozo.c,v 1.38 2017/10/05 04:22:41 mrg Exp $ */
/* $eterna: cgi-bozo.c,v 1.40 2011/11/18 09:21:15 mrg Exp $ */
@@ -517,8 +517,8 @@ bozo_process_cgi(bozo_httpreq_t *request)
strcpy(t, "HTTP_");
t += strlen(t);
for (s2 = headp->h_header; *s2; t++, s2++)
- if (islower((u_int)*s2))
- *t = toupper((u_int)*s2);
+ if (islower((unsigned)*s2))
+ *t = toupper((unsigned)*s2);
else if (*s2 == '-')
*t = '_';
else