mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
x86 hvm: Fix build error with some GCC versions.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
51379a3958
commit
58df49c4e3
1 file changed
+2
-2
@@ -291,9 +291,9 @@ static void rtc_update_second(void *opaque)
|
||||
* trying to sync the RTC registers */
|
||||
if ( unlikely(now - s->next_second_time > SECONDS(86400)) )
|
||||
{
|
||||
dprintk(XENLOG_WARNING, "HVM RTC: dom %u skipping %llu seconds\n",
|
||||
dprintk(XENLOG_WARNING, "HVM RTC: dom %u skipping %"PRId64" seconds\n",
|
||||
vrtc_domain(s)->domain_id,
|
||||
(now - s->next_second_time) / SYSTEM_TIME_HZ);
|
||||
(int64_t)((now - s->next_second_time) / SYSTEM_TIME_HZ));
|
||||
s->next_second_time = now;
|
||||
}
|
||||
|
||||
|
||||