From: Dmitry Stogov Date: Tue, 28 Feb 2006 18:34:58 +0000 (+0000) Subject: Fixed compilation on FreeBSD with gcc-3.2 X-Git-Tag: RELEASE_1_2~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3413d5df407d2179818e506b5d46710e71d7d766;p=php Fixed compilation on FreeBSD with gcc-3.2 --- diff --git a/Zend/zend.h b/Zend/zend.h index 02508c1438..697f56309c 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -248,7 +248,7 @@ typedef union _zstr { #ifdef __GNUC__ # define ZSTR(x) ((zstr)(x)) -# define NULL_ZSTR ZSTR(NULL) +# define NULL_ZSTR ZSTR((void*)NULL) # define EMPTY_ZSTR ZSTR("\0\0") #else extern ZEND_API zstr null_zstr;