Skip to content

Commit

Permalink
Fix 'const qualifier' warning for PHP 5
Browse files Browse the repository at this point in the history
  • Loading branch information
deuill committed Feb 27, 2016
1 parent d9b0735 commit 1c1e106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/include/php5/_receiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1c1e106

Please sign in to comment.