aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/accept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/accept.c b/test/accept.c
index fb87a1d..368bc90 100644
--- a/test/accept.c
+++ b/test/accept.c
@@ -241,7 +241,7 @@ static int test_loop(struct io_uring *ring,
i, s_fd[i]);
goto err;
}
- multishot_mask |= (1 << (s_fd[i] - 1));
+ multishot_mask |= (1U << s_fd[i]);
}
if (!multishot)
break;