Some php engine implementation doesn't have return_value_ptr properly set. Explicitly use &return_value.

pull/2129/head
Bo Yang 8 years ago
parent c6fa9c71a5
commit 3b001ca6ba
  1. 2
      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) {

Loading…
Cancel
Save