From: Ilia Alshanetsky Date: Thu, 11 Dec 2003 23:50:13 +0000 (+0000) Subject: Fixed extra byte allocation for TRUE/FALSE/ZEND_THREAD_SAFE/NULL constants. X-Git-Tag: php-5.0.0b3RC1~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2012609d664724314971beba6ed6fbf30f6c071;p=php Fixed extra byte allocation for TRUE/FALSE/ZEND_THREAD_SAFE/NULL constants. --- diff --git a/Zend/zend.h b/Zend/zend.h index f63ab21a2a..69d87cdf84 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -389,7 +389,7 @@ typedef int (*zend_write_func_t)(const char *str, uint str_length); #define MAX(a, b) (((a)>(b))?(a):(b)) #define MIN(a, b) (((a)<(b))?(a):(b)) #define ZEND_STRL(str) (str), (sizeof(str)-1) -#define ZEND_STRS(str) (str), (sizeof(str)) +#define ZEND_STRS(str) (str), (sizeof(str)-1) #define ZEND_NORMALIZE_BOOL(n) \ ((n) ? (((n)>0) ? 1 : -1) : 0) #define ZEND_TRUTH(x) ((x) ? 1 : 0)