ruby-changes:54864
From: nobu <ko1@a...>
Date: Thu, 14 Feb 2019 00:20:56 +0900 (JST)
Subject: [ruby-changes:54864] nobu:r67069 (trunk): Suppress a warning
nobu 2019-02-14 00:20:50 +0900 (Thu, 14 Feb 2019) New Revision: 67069 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67069 Log: Suppress a warning Modified files: trunk/ext/-test-/gvl/call_without_gvl/call_without_gvl.c Index: ext/-test-/gvl/call_without_gvl/call_without_gvl.c =================================================================== --- ext/-test-/gvl/call_without_gvl/call_without_gvl.c (revision 67068) +++ ext/-test-/gvl/call_without_gvl/call_without_gvl.c (revision 67069) @@ -38,7 +38,7 @@ do_loop(void *p) https://github.com/ruby/ruby/blob/trunk/ext/-test-/gvl/call_without_gvl/call_without_gvl.c#L38 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) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/