diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-03-14 20:18:50 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-03-14 20:18:50 +0900 |
commit | 2a6bfd22468343003463e0cbf91953a01b0dbba5 () | |
tree | 52cec0195f8725c9b8031154331f6d60950bc1a9 | |
parent | 8a5a91eead7c026ea71dca3063345451d16c948b (diff) |
Properly convert time_t [Bug #17645]
-rw-r--r-- | thread_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -565,7 +565,7 @@ rb_mutex_sleep(VALUE self, VALUE timeout) RUBY_VM_CHECK_INTS_BLOCKING(GET_EC()); time_t end = time(0) - beg; - return INT2FIX(end); } /* |