diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-13 15:20:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-13 15:20:50 +0000 |
commit | 4844a449405060892db4c407b12f141364d3142d (patch) | |
tree | b5beebffc71cd365498abc06506919d16b6af25b /ext/-test-/gvl | |
parent | 63ca54e7aa1be7e8cb2eb11881dbc5bb9cfccb37 (diff) | |
download | ruby-4844a449405060892db4c407b12f141364d3142d.tar.gz |
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.c | 2 |
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) { |