From: Tim Newsome Date: Fri, 3 Jun 2016 22:07:04 +0000 (-0700) Subject: Keep DCSR_XDEBUGVER unsigned. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68d0fcad8795b3245322cbbac07412e0312ee76f;p=riscv-isa-sim.git Keep DCSR_XDEBUGVER unsigned. --- diff --git a/riscv/encoding.h b/riscv/encoding.h index 1d5fb0d..032626e 100644 --- a/riscv/encoding.h +++ b/riscv/encoding.h @@ -33,7 +33,7 @@ #define SSTATUS32_SD 0x80000000 #define SSTATUS64_SD 0x8000000000000000 -#define DCSR_XDEBUGVER (3<<30) +#define DCSR_XDEBUGVER (3U<<30) #define DCSR_NDRESET (1<<29) #define DCSR_FULLRESET (1<<28) #define DCSR_HWBPCOUNT (0xfff<<16)