com php-src: it's actually correct to always use size_t for zend_size_t, even on 32 bit: Zend/zend _types.h

From: Date: Thu, 06 Feb 2014 23:13:11 +0000
Subject: com php-src: it's actually correct to always use size_t for zend_size_t, even on 32 bit: Zend/zend _types.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75930@lists.php.net to get a copy of this message
Commit: 06eff86e4d4a2d1a4a2f42a4091c26e2bd1a14cb Author: Anatol Belski <ab@php.net> Fri, 7 Feb 2014 00:13:11 +0100 Parents: 44772c2cb5e5e9569e196a3fa0ffabfcad439659 Branches: str_size_and_int64 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=06eff86e4d4a2d1a4a2f42a4091c26e2bd1a14cb Log: it's actually correct to always use size_t for zend_size_t, even on 32 bit Changed paths: M Zend/zend_types.h Diff: diff --git a/Zend/zend_types.h b/Zend/zend_types.h index 00d45ea..e7b5171 100644 --- a/Zend/zend_types.h +++ b/Zend/zend_types.h @@ -36,15 +36,14 @@ typedef unsigned short zend_ushort; # else # define ZEND_SIZE_MAX SIZE_MAX # endif -typedef size_t zend_size_t; #else # if defined(ZEND_WIN32) # define ZEND_SIZE_MAX _UI32_MAX # else # define ZEND_SIZE_MAX SIZE_MAX # endif -typedef unsigned int zend_size_t; #endif +typedef size_t zend_size_t; #define HAVE_ZEND_LONG64 #ifdef ZEND_WIN32

« previous php.cvs (#75930) next »