]> granicus.if.org Git - php/commitdiff
use the macro, casting works only with GCC
authorAntony Dovgal <tony2001@php.net>
Thu, 28 Dec 2006 15:24:00 +0000 (15:24 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 28 Dec 2006 15:24:00 +0000 (15:24 +0000)
ext/dba/libflatfile/flatfile.c

index 45aa15a07c20ac3a7da70eb3d36770e45545bed4..d2bf0c16e9561fece52e028033cb27b3c6107836 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "flatfile.h"
 
-#define _php_stream_gets(stream, buf, len) php_stream_gets(stream, (zstr)((char*)buf), len)
+#define _php_stream_gets(stream, buf, len) php_stream_gets(stream, ZSTR(((char*)buf)), len)
 
 #define FLATFILE_BLOCK_SIZE 1024