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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1276161480 -3600
# Node ID 1bfab8704f32471fd942bd538bb3aec327188451
# Parent  b311acfb274291190d83e587995137b16fc110f3
x86 hvm: Fix build error with some GCC versions.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/hvm/rtc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r b311acfb2742 -r 1bfab8704f32 xen/arch/x86/hvm/rtc.c
--- a/xen/arch/x86/hvm/rtc.c    Thu Jun 10 09:43:49 2010 +0100
+++ b/xen/arch/x86/hvm/rtc.c    Thu Jun 10 10:18:00 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®.