From c086b783eb7a578993d6d2ab62c4c2666800b63d Mon Sep 17 00:00:00 2001 From: "Igor V. Kovalenko" Date: Wed, 2 Jun 2010 00:12:32 +0400 Subject: sparc64: fix 32bit load sign extension - change return type of ldl_* to uint32_t to prevent unwanted sign extension visible in sparc64 load alternate address space methods - note this change makes ldl_* softmmu implementations match ldl_phys one Signed-off-by: Igor V. Kovalenko Signed-off-by: Blue Swirl --- softmmu_header.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softmmu_header.h b/softmmu_header.h index 6a36e01..2f95c33 100644 --- a/softmmu_header.h +++ b/softmmu_header.h @@ -60,7 +60,7 @@ #if DATA_SIZE == 8 #define RES_TYPE uint64_t #else -#define RES_TYPE int +#define RES_TYPE uint32_t #endif #if ACCESS_TYPE == (NB_MMU_MODES + 1) -- cgit v1.1