Skip to content

Commit 4576c41

Browse files
committed
fix possible optimization bug
1 parent 8a555d7 commit 4576c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/basic_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5523,7 +5523,7 @@ PHP_FUNCTION(ignore_user_abort)
55235523
return;
55245524
}
55255525

5526-
old_setting = PG(ignore_user_abort);
5526+
old_setting = (unsigned short)PG(ignore_user_abort);
55275527

55285528
if (ZEND_NUM_ARGS()) {
55295529
zend_string *key = zend_string_init("ignore_user_abort", sizeof("ignore_user_abort") - 1, 0);

0 commit comments

Comments
 (0)