зеркало из https://github.com/github/ruby.git
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:
Родитель
26a11ae771
Коммит
38122275f3
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;
|
||||
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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче