diff options
author | Bo Yang <teboring@google.com> | 2016-09-15 23:07:38 +0000 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-09-15 17:59:49 -0700 |
commit | 3b001ca6ba6fb51f5e55b1596fb3ce09ee9981e8 (patch) | |
tree | 605ba48ef9f82c42945cad1ddda885ef757e3333 /php | |
parent | c6fa9c71a5bfa486916401a0b60df1bdcecda380 (diff) |
Some php engine implementation doesn't have return_value_ptr properly set. Explicitly use &return_value.
Diffstat (limited to 'php')
-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) { |