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:
parent
63ca54e7aa
commit
4844a44940
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue