]> granicus.if.org Git - php/commitdiff
Fixed compilation on FreeBSD with gcc-3.2
authorDmitry Stogov <dmitry@php.net>
Tue, 28 Feb 2006 18:34:58 +0000 (18:34 +0000)
committerDmitry Stogov <dmitry@php.net>
Tue, 28 Feb 2006 18:34:58 +0000 (18:34 +0000)
Zend/zend.h

index 02508c14389ac8c5fbbb4ea335065b10ca9c33ef..697f56309ce9e3261ab718aed40d1116c848b97d 100644 (file)
@@ -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;