aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/-test-/gvl/call_without_gvl/call_without_gvl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/gvl/call_without_gvl/call_without_gvl.c b/ext/-test-/gvl/call_without_gvl/call_without_gvl.c
index 4b0aafdad1..d77c2f323e 100644
--- a/ext/-test-/gvl/call_without_gvl/call_without_gvl.c
+++ b/ext/-test-/gvl/call_without_gvl/call_without_gvl.c
@@ -38,7 +38,7 @@ do_loop(void *p)
struct loop_ctl *ctl = p;
/* tell the waiting process they can interrupt us, now */
- int err = write(ctl->notify_fd, "", 1);
+ ssize_t err = write(ctl->notify_fd, "", 1);
if (err == -1) rb_bug("write error");
while (!ctl->stop) {