summaryrefslogtreecommitdiffstats
path: root/src/devices/cpu/mips/mips3com.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mips/mips3com.cpp')
-rw-r--r--src/devices/cpu/mips/mips3com.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/mips/mips3com.cpp b/src/devices/cpu/mips/mips3com.cpp
index 3410843c3e1..f01f27925fe 100644
--- a/src/devices/cpu/mips/mips3com.cpp
+++ b/src/devices/cpu/mips/mips3com.cpp
@@ -389,7 +389,7 @@ void mips3_device::tlb_write_common(int tlbindex)
/* fill in the new TLB entry from the COP0 registers */
entry->page_mask = m_core->cpr[0][COP0_PageMask];
- entry->entry_hi = m_core->cpr[0][COP0_EntryHi] & ~(entry->page_mask & U64(0x0000000001ffe000));
+ entry->entry_hi = m_core->cpr[0][COP0_EntryHi] & ~(entry->page_mask & u64(0x0000000001ffe000U));
entry->entry_lo[0] = m_core->cpr[0][COP0_EntryLo0];
entry->entry_lo[1] = m_core->cpr[0][COP0_EntryLo1];