summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2010-12-19 17:22:41 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-12-20 21:03:19 +0000
commit446070fe1c069ebd0303e40836a1b3c5c74f8691 (patch)
treeaae24176f9e2580b560cb162d3e50d5ad1153b28 /target-i386
parentf8f2e0f99d19437ace907f2b933ca48d61973858 (diff)
downloadqemu-446070fe1c069ebd0303e40836a1b3c5c74f8691.tar.gz
qemu-446070fe1c069ebd0303e40836a1b3c5c74f8691.tar.bz2
qemu-446070fe1c069ebd0303e40836a1b3c5c74f8691.zip
target-i386: Fix accidental use of SoftFloat uint64 type
softfloat.h's uint64 type has least-width semantics. Use uint64_t instead since that is used in helpers. v4: * Summary change. v3: * Split off. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Acked-by: Huang Ying <ying.huang@intel.com> Acked-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 06e40f3e49..f0c07cde3b 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -737,10 +737,10 @@ typedef struct CPUX86State {
user */
struct DeviceState *apic_state;
- uint64 mcg_cap;
- uint64 mcg_status;
- uint64 mcg_ctl;
- uint64 mce_banks[MCE_BANKS_DEF*4];
+ uint64_t mcg_cap;
+ uint64_t mcg_status;
+ uint64_t mcg_ctl;
+ uint64_t mce_banks[MCE_BANKS_DEF*4];
uint64_t tsc_aux;