From 2f78b04fd75ae457f8a1297909dd3b6f612bd21f Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 7 Oct 2025 03:48:53 -0500 Subject: add explicit parens for combined logic --- tests/compat/pipe2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compat/pipe2.c b/tests/compat/pipe2.c index c27a858..d7b4062 100644 --- a/tests/compat/pipe2.c +++ b/tests/compat/pipe2.c @@ -42,7 +42,7 @@ static int setfl(int fd, int flag) static void create_issue_1069_sentinels(int socket_vector[2]) { int fd = open("CONIN$", O_RDONLY); - if (fd == -1 || fd > socket_vector[0] && fd > socket_vector[1]) { + if (fd == -1 || (fd > socket_vector[0] && fd > socket_vector[1])) { return; } create_issue_1069_sentinels(socket_vector); -- cgit v1.2.3-55-g6feb