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:
parent
26a11ae771
commit
38122275f3
1 changed files with 1 additions and 1 deletions
2
thread.c
2
thread.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue