sebastian Fri Aug 12 06:10:46 2005 EDT Modified files: /php-src/ext/standard string.c Log: Patch by Michael Wallner, signed off by Edin Kadribasic. http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.448&r2=1.449&ty=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.448 php-src/ext/standard/string.c:1.449 --- php-src/ext/standard/string.c:1.448 Fri Aug 12 01:58:02 2005 +++ php-src/ext/standard/string.c Fri Aug 12 06:10:41 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.448 2005/08/12 05:58:02 sebastian Exp $ */ +/* $Id: string.c,v 1.449 2005/08/12 10:10:41 sebastian Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -4728,8 +4728,8 @@ int l=0; memcpy(result, input_str, input_str_len); s = result; - e = result + input_str_len; - ee = result + result_len; + e = (char *) result + input_str_len; + ee = (char *) result + result_len; while ( e < ee ) { l = (e-s) < (ee-e) ? (e-s) : (ee-e);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php