summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-12-28 15:24:00 +0000
committerAntony Dovgal <tony2001@php.net>2006-12-28 15:24:00 +0000
commitea14ce7700c683e4095c24fec7e10c941b23cb3a (patch)
tree46a83a3085346c9cd75cce55deb99d26f764159a
parent322b00be0a95669ad5713d21ed6238333cc59dfc (diff)
downloadphp-git-ea14ce7700c683e4095c24fec7e10c941b23cb3a.tar.gz
use the macro, casting works only with GCC
-rw-r--r--ext/dba/libflatfile/flatfile.c2
1 files changed, 1 insertions, 1 deletions
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