diff options
author | 2009-05-07 19:43:17 +0000 | |
---|---|---|
committer | 2009-05-07 19:43:17 +0000 | |
commit | 1443386e334873318d82d6a4070e0ecc0fe4460e (patch) | |
tree | d22faaab4296f083d20904541b184f6432cb783b /src/emu/cpu/vtlb.c | |
parent | 888d92cda84df8f8d56b57fcc5217921a6c5805f (diff) |
fixed visual studio 64 bit compile
Diffstat (limited to 'src/emu/cpu/vtlb.c')
-rw-r--r-- | src/emu/cpu/vtlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/vtlb.c b/src/emu/cpu/vtlb.c index c921831e977..44791ec739c 100644 --- a/src/emu/cpu/vtlb.c +++ b/src/emu/cpu/vtlb.c @@ -81,7 +81,7 @@ vtlb_state *vtlb_alloc(const device_config *cpu, int space, int fixed_entries, i state_save_register_device_item_pointer(cpu, space, vtlb->live, fixed_entries + dynamic_entries); /* allocate the lookup table */ - vtlb->table = alloc_array_clear_or_die(vtlb_entry, 1 << (vtlb->addrwidth - vtlb->pageshift)); + vtlb->table = alloc_array_clear_or_die(vtlb_entry, (size_t) 1 << (vtlb->addrwidth - vtlb->pageshift)); state_save_register_device_item_pointer(cpu, space, vtlb->table, 1 << (vtlb->addrwidth - vtlb->pageshift)); /* allocate the fixed page count array */ |