1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Suppress a warning

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-02-13 15:20:50 +00:00
parent 63ca54e7aa
commit 4844a44940

View file

@ -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) {