Browse Source

use the macro, casting works only with GCC

migration/RELEASE_1_0_0
Antony Dovgal 20 years ago
parent
commit
ea14ce7700
  1. 2
      ext/dba/libflatfile/flatfile.c

2
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

Loading…
Cancel
Save