diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-09-29 17:55:56 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-10-02 22:55:28 +0400 |
commit | 00fdef658675ac2d019005769c426c275bceec6f (patch) | |
tree | 4e41c1fd0cca6ff4452834673a56701e773ae029 /target-i386 | |
parent | 3a6f2703268c99f2f2f0a93f2fbacec7b039fd36 (diff) | |
download | qemu-00fdef658675ac2d019005769c426c275bceec6f.zip qemu-00fdef658675ac2d019005769c426c275bceec6f.tar.gz qemu-00fdef658675ac2d019005769c426c275bceec6f.tar.bz2 |
target-i386: Fix compiler warning (integer constant is too large)
From buildbot default_i386_rhel61:
CC i386-softmmu/target-i386/arch_memory_mapping.o
target-i386/arch_memory_mapping.c: In function 'walk_pde':
target-i386/arch_memory_mapping.c:110: warning:
integer constant is too large for 'long' type
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/arch_memory_mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/arch_memory_mapping.c b/target-i386/arch_memory_mapping.c index 2566a04..462f984 100644 --- a/target-i386/arch_memory_mapping.c +++ b/target-i386/arch_memory_mapping.c @@ -75,7 +75,7 @@ static void walk_pte2(MemoryMappingList *list, } /* PAE Paging or IA-32e Paging */ -#define PLM4_ADDR_MASK 0xffffffffff000 /* selects bits 51:12 */ +#define PLM4_ADDR_MASK 0xffffffffff000ULL /* selects bits 51:12 */ static void walk_pde(MemoryMappingList *list, hwaddr pde_start_addr, int32_t a20_mask, target_ulong start_line_addr) |