Skip to content

Commit f1f39d7

Browse files
committed
Fix parenthesis warning
1 parent 870d893 commit f1f39d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/phar/phar.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1843,7 +1843,7 @@ static int phar_check_str(const char *fname, const char *ext_str, int ext_len, i
18431843
pos = strstr(ext_str, ".phar");
18441844

18451845
if (!pos
1846-
|| pos != ext_str && (*(pos - 1) == '/')
1846+
|| (pos != ext_str && (*(pos - 1) == '/'))
18471847
|| (ext_len - (pos - ext_str)) < 5
18481848
|| !(pos += 5)
18491849
|| !(*pos == '\0' || *pos == '/' || *pos == '.')) {

0 commit comments

Comments
 (0)