From 68d0fcad8795b3245322cbbac07412e0312ee76f Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Fri, 3 Jun 2016 15:07:04 -0700 Subject: [PATCH] Keep DCSR_XDEBUGVER unsigned. --- riscv/encoding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2