summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 80c3890975..6c7e0d2669 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -471,7 +471,7 @@ abs_timespec_to_timeout_ms(struct timespec *ts)
gettimeofday(&now, NULL);
tv.tv_sec = ts->tv_sec;
- tv.tv_usec = ts->tv_nsec;
+ tv.tv_usec = ts->tv_nsec / 1000;
if (!rb_w32_time_subtract(&tv, &now))
return 0;