qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [4832] Fix constant truncation, spotted by Jindrich Makovic


From: Thiemo Seufer
Subject: [Qemu-devel] [4832] Fix constant truncation, spotted by Jindrich Makovicka.
Date: Thu, 03 Jul 2008 04:13:25 +0000

Revision: 4832
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4832
Author:   ths
Date:     2008-07-03 04:13:24 +0000 (Thu, 03 Jul 2008)

Log Message:
-----------
Fix constant truncation, spotted by Jindrich Makovicka.

Modified Paths:
--------------
    trunk/target-i386/helper.c

Modified: trunk/target-i386/helper.c
===================================================================
--- trunk/target-i386/helper.c  2008-07-03 03:57:14 UTC (rev 4831)
+++ trunk/target-i386/helper.c  2008-07-03 04:13:24 UTC (rev 4832)
@@ -827,12 +827,12 @@
 /* XXX: This value should match the one returned by CPUID
  * and in exec.c */
 #if defined(USE_KQEMU)
-#define PHYS_ADDR_MASK 0xfffff000L
+#define PHYS_ADDR_MASK 0xfffff000LL
 #else
 # if defined(TARGET_X86_64)
-# define PHYS_ADDR_MASK 0xfffffff000L
+# define PHYS_ADDR_MASK 0xfffffff000LL
 # else
-# define PHYS_ADDR_MASK 0xffffff000L
+# define PHYS_ADDR_MASK 0xffffff000LL
 # endif
 #endif
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]