mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread_pthread.c (native_sleep): suppress a warning for platforms
which time_t is int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46d0e03036
commit
b73ea4b64a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Aug 19 19:28:47 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* thread_pthread.c (native_sleep): suppress a warning for platforms
|
||||
which time_t is int.
|
||||
|
||||
Thu Aug 19 18:15:50 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* tool/merger.rb: Add a tool to merge commits between branches.
|
||||
|
|
|
@ -612,7 +612,7 @@ native_sleep(rb_thread_t *th, struct timeval *tv)
|
|||
}
|
||||
}
|
||||
|
||||
thread_debug("native_sleep %ld\n", tv ? tv->tv_sec : -1);
|
||||
thread_debug("native_sleep %ld\n", (long)(tv ? tv->tv_sec : -1));
|
||||
GVL_UNLOCK_BEGIN();
|
||||
{
|
||||
pthread_mutex_lock(&th->interrupt_lock);
|
||||
|
|
Loading…
Reference in a new issue