1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2018-09-13 10:59:12 +00:00
parent 26a11ae771
commit 38122275f3

View file

@ -1216,7 +1216,7 @@ hrtime_update_expire(rb_hrtime_t *timeout, const rb_hrtime_t end)
if (now > end) return 1; if (now > end) return 1;
thread_debug("hrtime_update_expire: " thread_debug("hrtime_update_expire: "
"%"PRI_64_PREFIX"u > %"PRI_64_PREFIX"u\n", "%"PRI_64_PREFIX"u > %"PRI_64_PREFIX"u\n",
(unsigned long)end, (unsigned long)now); (uint64_t)end, (uint64_t)now);
*timeout = end - now; *timeout = end - now;
return 0; return 0;
} }