From 4844a449405060892db4c407b12f141364d3142d Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 13 Feb 2019 15:20:50 +0000 Subject: Suppress a warning git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/-test-/gvl/call_without_gvl/call_without_gvl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/-test-') 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) { -- cgit v1.2.3