]> granicus.if.org Git - php/commitdiff
Fix warnings
authorZeev Suraski <zeev@php.net>
Tue, 1 Oct 2002 10:16:40 +0000 (10:16 +0000)
committerZeev Suraski <zeev@php.net>
Tue, 1 Oct 2002 10:16:40 +0000 (10:16 +0000)
ext/mbstring/php_unicode.c

index ec6d9987f3d81fc368bcdf101ea492b238fbe9d4..f095d314bc6e0c608a5696b8994a3b30dd5c1fb1 100644 (file)
@@ -236,7 +236,7 @@ PHPAPI char *php_unicode_convert_case(int case_mode, char *srcstr, size_t srclen
        char *unicode, *newstr;
        size_t unicode_len;
        unsigned long *unicode_ptr;
-       int i;
+       size_t i;
 
        unicode = php_mb_convert_encoding(srcstr, srclen, NATIVE_UNICODE_ENCODING, src_encoding, &unicode_len TSRMLS_CC);
        if (unicode == NULL)