You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@locus.apache.org on 2000/06/19 20:00:57 UTC
cvs commit: apache-2.0/src/main util_uri.c
stoddard 00/06/19 11:00:56
Modified: src/main util_uri.c
Log:
Get rid of a compiler warning.
Revision Changes Path
1.14 +1 -1 apache-2.0/src/main/util_uri.c
Index: util_uri.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/main/util_uri.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- util_uri.c 2000/06/17 16:29:49 1.13
+++ util_uri.c 2000/06/19 18:00:52 1.14
@@ -596,7 +596,7 @@
++s;
uptr->port_str = ap_pstrdup(p, s);
if (*s != '\0') {
- uptr->port = strtol(uptr->port_str, &endstr, 10);
+ uptr->port = (unsigned short) strtol(uptr->port_str, &endstr, 10);
if (*endstr == '\0') {
return HTTP_OK;
}