Skip to content

Commit

Permalink
Update protobuf.c
Browse files Browse the repository at this point in the history
fixes an incompatible pointer type error on build
  • Loading branch information
omniError authored Feb 14, 2025
1 parent 941ee74 commit 61cbece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protobuf-ext/php8/protobuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ PHP_METHOD(ProtobufMessage, __construct)
{
zval values_array;
array_init(&values_array);
zend_update_property(pb_entry, getThis(), PB_VALUES_PROPERTY, sizeof(PB_VALUES_PROPERTY) - 1, &values_array);
zend_update_property(pb_entry, Z_OBJ_P(ZEND_THIS), PB_VALUES_PROPERTY, sizeof(PB_VALUES_PROPERTY) - 1, &values_array);
}

PHP_METHOD(ProtobufMessage, append)
Expand Down

0 comments on commit 61cbece

Please sign in to comment.