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>
This commit is contained in:
parent
3a6f270326
commit
00fdef6586
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user