Fix parenthesis warning

This commit is contained in:
Nikita Popov 2018-09-04 05:32:25 +02:00
parent 870d893d0b
commit f1f39d7ed7

View File

@ -1843,7 +1843,7 @@ static int phar_check_str(const char *fname, const char *ext_str, int ext_len, i
pos = strstr(ext_str, ".phar");
if (!pos
|| pos != ext_str && (*(pos - 1) == '/')
|| (pos != ext_str && (*(pos - 1) == '/'))
|| (ext_len - (pos - ext_str)) < 5
|| !(pos += 5)
|| !(*pos == '\0' || *pos == '/' || *pos == '.')) {