Skip to content

Commit

Permalink
Fix error if compiled without -fpermissive flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
ideal authored and nikic committed Jun 23, 2017
1 parent b255b97 commit 4d61005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/php_smart_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { \
Expand Down

1 comment on commit 4d61005

@zhoumengkang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

666

Please sign in to comment.