[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] x86 hvm: Fix build error with some GCC versions.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1276161566 -3600
# Node ID 2d74cb5f973fe3eb26f3623ba461b8c9b3a40893
# Parent  c76e54a28815dc088c1d483fdf01d5037fd8d554
x86 hvm: Fix build error with some GCC versions.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   21590:1bfab8704f32
xen-unstable date:        Thu Jun 10 10:18:00 2010 +0100
---
 xen/arch/x86/hvm/rtc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c76e54a28815 -r 2d74cb5f973f xen/arch/x86/hvm/rtc.c
--- a/xen/arch/x86/hvm/rtc.c    Thu Jun 10 10:19:09 2010 +0100
+++ b/xen/arch/x86/hvm/rtc.c    Thu Jun 10 10:19:26 2010 +0100
@@ -291,9 +291,9 @@ static void rtc_update_second(void *opaq
      * 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;
     }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.