summaryrefslogtreecommitdiff
path: root/ext/-test-/gvl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-13 15:20:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-13 15:20:50 +0000
commit4844a449405060892db4c407b12f141364d3142d (patch)
treeb5beebffc71cd365498abc06506919d16b6af25b /ext/-test-/gvl
parent63ca54e7aa1be7e8cb2eb11881dbc5bb9cfccb37 (diff)
Suppress a warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/gvl')
-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) {