diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-30 21:08:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-30 21:08:34 +0000 |
commit | f2e1bfb89762fe4f98d0467299ec046cf75fb51d (patch) | |
tree | 5239d4ecdcb53eff8621b76f5b11101a2a7aaf14 /time.c | |
parent | ae422dda781388d16ee8333867e913ba0b7b174d (diff) | |
download | ruby-f2e1bfb89762fe4f98d0467299ec046cf75fb51d.tar.gz |
thread.c: format specifiers for time_t
* thread.c (sleep_timeval): fix format specifiers for time_t.
* time.c (DEBUG_REPORT_GUESSRANGE): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2794,7 +2794,7 @@ timegm_noleapsecond(struct tm *tm) #endif #ifdef DEBUG_GUESSRANGE -#define DEBUG_REPORT_GUESSRANGE fprintf(stderr, "find time guess range: %ld - %ld : %lu\n", guess_lo, guess_hi, (unsigned_time_t)(guess_hi-guess_lo)) +#define DEBUG_REPORT_GUESSRANGE fprintf(stderr, "find time guess range: %ld - %ld : %"PRI_TIMET_PREFIX"u\n", guess_lo, guess_hi, (unsigned_time_t)(guess_hi-guess_lo)) #else #define DEBUG_REPORT_GUESSRANGE #endif |