From 38122275f3d23226891a04108f69c8d14b7a6fe1 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 13 Sep 2018 10:59:12 +0000 Subject: 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 --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index ffbc2ac29f..d138deea98 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; } -- cgit v1.2.3