]> granicus.if.org Git - php/commitdiff
Resolving problem on OSF1 and probably other
authorAndrey Hristov <andrey@php.net>
Fri, 24 Jan 2003 13:18:08 +0000 (13:18 +0000)
committerAndrey Hristov <andrey@php.net>
Fri, 24 Jan 2003 13:18:08 +0000 (13:18 +0000)
64 bit platforms. Thanks for the feedback of Magnus (novell kiruna se).

ext/standard/string.c

index e7692766c339e469bd665facd83d8b77bf7d8e1d..7c7681bf9432aa53ad62275cc3af61e92f3fd6d1 100644 (file)
@@ -199,7 +199,7 @@ PHP_FUNCTION(bin2hex)
 static void php_spn_common_handler(INTERNAL_FUNCTION_PARAMETERS, int behavior)
 {
        char *s11, *s22;
-       long len1, len2, start, len;
+       int len1, len2, start, len;
        
        start = 0;
        len = 0;