summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-13 10:59:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-13 10:59:12 +0000
commit38122275f3d23226891a04108f69c8d14b7a6fe1 (patch)
tree4652fb02d625721a9aaeda59de150e2ae9ddf9ab /thread.c
parent26a11ae77107884ba53592d239a75c2028e244a0 (diff)
thread.c: fix -Wformat warning where uint64_t is not unsigned long
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index ffbc2ac..d138dee 100644
--- a/thread.c
+++ b/thread.c
@@ -1216,7 +1216,7 @@ hrtime_update_expire(rb_hrtime_t *timeout, const rb_hrtime_t end)
if (now > end) return 1;
thread_debug("hrtime_update_expire: "
"%"PRI_64_PREFIX"u > %"PRI_64_PREFIX"u\n",
- (unsigned long)end, (unsigned long)now);
+ (uint64_t)end, (uint64_t)now);
*timeout = end - now;
return 0;
}