Skip to content

Commit 4daeefa

Browse files
committed
Remove char * casting, the macro soup leads to incorrect sizeof
1 parent 7ccd38c commit 4daeefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_phongo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ void _phongo_debug_bson(bson_t *bson)
16451645

16461646
/* {{{ INI entries */
16471647
PHP_INI_BEGIN()
1648-
STD_PHP_INI_ENTRY((char *)"phongo.debug_log", (char *)"", PHP_INI_ALL, OnUpdateString, debug_log, zend_phongo_globals, phongo_globals)
1648+
STD_PHP_INI_ENTRY("phongo.debug_log", "", PHP_INI_ALL, OnUpdateString, debug_log, zend_phongo_globals, phongo_globals)
16491649
PHP_INI_END()
16501650
/* }}} */
16511651

0 commit comments

Comments
 (0)