Fix 'const qualifier' warning for PHP 5

This commit is contained in:
Alex Palaistras 2016-02-27 22:39:28 +00:00
parent d9b0735a69
commit 1c1e106d6e
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ static inline zval *RECEIVER_RETVAL() {
// Return class name for method receiver.
static inline char *receiver_get_name(engine_receiver *rcvr) {
return rcvr->obj.ce->name;
return (char *) rcvr->obj.ce->name;
}
#endif