Skip to content

Commit

Permalink
remove pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Jan 17, 2025
1 parent a696127 commit 6d62020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/intl/common/common_date.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ U_CFUNC zend_result intl_datetime_decompose(zend_object *obj, double *millis, Ti
}

if (millis) {
auto *getTimestampMethod = static_cast<zend_function *>(zend_hash_str_find_ptr(&obj->ce->function_table, ZEND_STRL("gettimestamp")));
auto getTimestampMethod = static_cast<zend_function *>(zend_hash_str_find_ptr(&obj->ce->function_table, ZEND_STRL("gettimestamp")));
zval retval;

ZEND_ASSERT(getTimestampMethod && "DateTimeInterface is sealed and thus must have this method");
Expand Down

0 comments on commit 6d62020

Please sign in to comment.