diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-02 07:36:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-02 07:36:34 +0000 |
commit | ac018e7b3e4f4c5e6f251f38c95d66640c1be82d (patch) | |
tree | 7c7b7cd8f6d14142bddedd3227ab889d8e0e235a /thread_pthread.c | |
parent | 9d4207214a7dbbd6904210af0197c60331e34bd9 (diff) | |
download | ruby-ac018e7b3e4f4c5e6f251f38c95d66640c1be82d.tar.gz |
* thread_pthread.c (native_cond_timeout): cast explicitly to suppress
a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 52997ecbf5..f8b6c1206d 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -361,7 +361,7 @@ native_cond_timeout(rb_thread_cond_t *cond, struct timespec timeout_rel) } if (cond->clockid != CLOCK_REALTIME) - rb_bug("unsupported clockid %d", cond->clockid); + rb_bug("unsupported clockid %"PRIdVALUE, (SIGNED_VALUE)cond->clockid); #endif ret = gettimeofday(&tv, 0); |