From: Antony Dovgal Date: Thu, 28 Dec 2006 15:24:00 +0000 (+0000) Subject: use the macro, casting works only with GCC X-Git-Tag: RELEASE_1_0_0RC1~463 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea14ce7700c683e4095c24fec7e10c941b23cb3a;p=php use the macro, casting works only with GCC --- diff --git a/ext/dba/libflatfile/flatfile.c b/ext/dba/libflatfile/flatfile.c index 45aa15a07c..d2bf0c16e9 100644 --- a/ext/dba/libflatfile/flatfile.c +++ b/ext/dba/libflatfile/flatfile.c @@ -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