File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ bool php_phongo_bson_visit_binary(const bson_iter_t *iter ARG_UNUSED, const char
241241 zend_class_entry * found_ce = zend_fetch_class (zs_classname , ZEND_FETCH_CLASS_AUTO |ZEND_FETCH_CLASS_SILENT TSRMLS_CC );
242242 zend_string_free (zs_classname );
243243#else
244- zend_class_entry * found_ce = zend_fetch_class ((char * )v_binary , v_binary_len , ZEND_FETCH_CLASS_AUTO |ZEND_FETCH_CLASS_SILENT TSRMLS_CC );
244+ zend_class_entry * found_ce = zend_fetch_class ((const char * )v_binary , v_binary_len , ZEND_FETCH_CLASS_AUTO |ZEND_FETCH_CLASS_SILENT TSRMLS_CC );
245245#endif
246246
247247 if (found_ce && PHONGO_IS_CLASS_INSTANTIATABLE (found_ce ) && instanceof_function (found_ce , php_phongo_persistable_ce TSRMLS_CC )) {
You can’t perform that action at this time.
0 commit comments