Skip to content

Commit b29ab61

Browse files
committed
Fix [-Wlogical-op] in IMAP
1 parent e537ce1 commit b29ab61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/imap/php_imap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2746,7 +2746,7 @@ PHP_FUNCTION(imap_sort)
27462746
}
27472747

27482748
array_init(return_value);
2749-
if (slst != NIL && slst != 0) {
2749+
if (slst != NULL) {
27502750
for (sl = slst; *sl; sl++) {
27512751
add_next_index_long(return_value, *sl);
27522752
}

0 commit comments

Comments
 (0)