Skip to content

Commit

Permalink
Merge pull request #9 from omniError/patch-1
Browse files Browse the repository at this point in the history
Fixes php8 extension build issue, incompatible pointer type
  • Loading branch information
Allyans3 authored Feb 15, 2025
2 parents 941ee74 + 61cbece commit ac53889
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 ac53889

Please sign in to comment.