tony2001 Thu Dec 28 15:24:00 2006 UTC
Modified files:
/php-src/ext/dba/libflatfile flatfile.c
Log:
use the macro, casting works only with GCC
http://cvs.php.net/viewvc.cgi/php-src/ext/dba/libflatfile/flatfile.c?r1=1.17&r2=1.18&diff_format=u
Index: php-src/ext/dba/libflatfile/flatfile.c
diff -u php-src/ext/dba/libflatfile/flatfile.c:1.17
php-src/ext/dba/libflatfile/flatfile.c:1.18
--- php-src/ext/dba/libflatfile/flatfile.c:1.17 Thu May 11 20:08:45 2006
+++ php-src/ext/dba/libflatfile/flatfile.c Thu Dec 28 15:24:00 2006
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: flatfile.c,v 1.17 2006/05/11 20:08:45 helly Exp $ */
+/* $Id: flatfile.c,v 1.18 2006/12/28 15:24:00 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -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
@@ -308,7 +308,7 @@
/* {{{ flatfile_version */
char *flatfile_version()
{
- return "1.0, $Revision: 1.17 $";
+ return "1.0, $Revision: 1.18 $";
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php