Commit 3b001ca6 authored by Bo Yang's avatar Bo Yang

Some php engine implementation doesn't have return_value_ptr properly set.…

Some php engine implementation doesn't have return_value_ptr properly set. Explicitly use &return_value.
parent c6fa9c71
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment