ruby-changes:22821
From: nobu <ko1@a...>
Date: Fri, 2 Mar 2012 16:36:46 +0900 (JST)
Subject: [ruby-changes:22821] nobu:r34870 (trunk): * thread_pthread.c (native_cond_timeout): cast explicitly to suppress
nobu 2012-03-02 16:36:34 +0900 (Fri, 02 Mar 2012) New Revision: 34870 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34870 Log: * thread_pthread.c (native_cond_timeout): cast explicitly to suppress a warning. Modified files: trunk/ChangeLog trunk/thread_pthread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 34869) +++ ChangeLog (revision 34870) @@ -1,3 +1,8 @@ +Fri Mar 2 16:36:31 2012 Nobuyoshi Nakada <nobu@r...> + + * thread_pthread.c (native_cond_timeout): cast explicitly to suppress + a warning. + Fri Mar 2 16:35:56 2012 Nobuyoshi Nakada <nobu@r...> * io.c (pipe_open): cmd is no longer used if fork is available. Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 34869) +++ thread_pthread.c (revision 34870) @@ -361,7 +361,7 @@ } 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/