Browse Source

Fix error if compiled without -fpermissive flag.

pull/2605/head
ideal 9 years ago
committed by Nikita Popov
parent
commit
4d6100569b
  1. 2
      ext/standard/php_smart_string.h

2
ext/standard/php_smart_string.h

@ -50,7 +50,7 @@
#endif
#define SMART_STRING_DO_REALLOC(d, what) \
(d)->c = SMART_STRING_REALLOC((d)->c, (d)->a + 1, (what))
(d)->c = (char *) SMART_STRING_REALLOC((d)->c, (d)->a + 1, (what))
#define smart_string_alloc4(d, n, what, newlen) do { \
if (!(d)->c) { \

Loading…
Cancel
Save