diff options
Diffstat (limited to 'riscv/mmu.h')
-rw-r--r-- | riscv/mmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/mmu.h b/riscv/mmu.h index 105908e..34bcf99 100644 --- a/riscv/mmu.h +++ b/riscv/mmu.h @@ -202,7 +202,7 @@ private: static const reg_t TLB_ENTRIES = 256; // If a TLB tag has TLB_CHECK_TRIGGERS set, then the MMU must check for a // trigger match before completing an access. - static const reg_t TLB_CHECK_TRIGGERS = 1L<<63; + static const reg_t TLB_CHECK_TRIGGERS = reg_t(1) << 63; char* tlb_data[TLB_ENTRIES]; reg_t tlb_insn_tag[TLB_ENTRIES]; reg_t tlb_load_tag[TLB_ENTRIES]; |