com php-src: string sze_t fix for internal strings: Zend/zend_string.c

From: Date: Wed, 16 Oct 2013 09:31:20 +0000
Subject: com php-src: string sze_t fix for internal strings: Zend/zend_string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73515@lists.php.net to get a copy of this message
Commit: dc43044ffbd2b243c5949bd627d855b9dcf005a7 Author: Anatol Belski <ab@php.net> Wed, 10 Jul 2013 00:43:19 -0700 Parents: 0d0eec58f1a05679b276cb40a74927c37f581b08 Branches: str_size_and_int64 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc43044ffbd2b243c5949bd627d855b9dcf005a7 Log: string sze_t fix for internal strings Changed paths: M Zend/zend_string.c Diff: diff --git a/Zend/zend_string.c b/Zend/zend_string.c index ff7ee3f..144de9d 100644 --- a/Zend/zend_string.c +++ b/Zend/zend_string.c @@ -29,11 +29,11 @@ # include <sys/mman.h> #endif -ZEND_API const char *(*zend_new_interned_string)(const char *str, int len, int free_src TSRMLS_DC); +ZEND_API const char *(*zend_new_interned_string)(const char *str, zend_str_size_int len, int free_src TSRMLS_DC); ZEND_API void (*zend_interned_strings_snapshot)(TSRMLS_D); ZEND_API void (*zend_interned_strings_restore)(TSRMLS_D); -static const char *zend_new_interned_string_int(const char *str, int len, int free_src TSRMLS_DC); +static const char *zend_new_interned_string_int(const char *str, zend_str_size_int len, int free_src TSRMLS_DC); static void zend_interned_strings_snapshot_int(TSRMLS_D); static void zend_interned_strings_restore_int(TSRMLS_D); @@ -79,7 +79,7 @@ void zend_interned_strings_dtor(TSRMLS_D) #endif } -static const char *zend_new_interned_string_int(const char *arKey, int nKeyLength, int free_src TSRMLS_DC) +static const char *zend_new_interned_string_int(const char *arKey, zend_str_size_int nKeyLength, int free_src TSRMLS_DC) { #ifndef ZTS ulong h;

« previous php.cvs (#73515) next »