diff options
Diffstat (limited to 'php/ext')
-rw-r--r-- | php/ext/google/protobuf/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/ext/google/protobuf/message.c b/php/ext/google/protobuf/message.c index 537cd1c4..0cae6dba 100644 --- a/php/ext/google/protobuf/message.c +++ b/php/ext/google/protobuf/message.c @@ -227,7 +227,7 @@ PHP_METHOD(Message, readOneof) { zval** cache_ptr = &(msg->std.properties_table)[property_cache_index]; layout_get(msg->descriptor->layout, message_data(msg), field, - return_value_ptr TSRMLS_CC); + &return_value TSRMLS_CC); } PHP_METHOD(Message, writeOneof) { |