cvs: php4 /main SAPI.c
| From: | Frank M. Kromann | Date: | Fri, 20 Oct 2000 19:10:27 +0000 |
| Subject: | cvs: php4 /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2169@lists.php.net to get a copy of this message | ||
fmk Fri Oct 20 12:10:27 2000 EDT
Modified files:
/php4/main SAPI.c
Log:
Changing datatype to remove compiler warning
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.94 php4/main/SAPI.c:1.95
--- php4/main/SAPI.c:1.94 Fri Oct 13 05:13:35 2000
+++ php4/main/SAPI.c Fri Oct 20 12:10:27 2000
@@ -236,7 +236,7 @@
SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len SLS_DC)
{
char *charset, *newtype;
- int newlen;
+ size_t newlen;
charset = SG(default_charset) ? SG(default_charset) : SAPI_DEFAULT_CHARSET;
if (*charset && strncmp(*mimetype, "text/", 5) == 0 && strstr(*mimetype,
"charset=") == NULL) {