From c036bcb7ab1082041ff48220a72e87658ff2e48c Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Tue, 9 Jun 2020 07:30:01 +0000 Subject: [PATCH] Compilation fix for MSYS2 gcc 10.1.0 (narrowing conversion). --- bochs/iodev/display/voodoo_data.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bochs/iodev/display/voodoo_data.h b/bochs/iodev/display/voodoo_data.h index 7ea1b415e..a3aacef29 100644 --- a/bochs/iodev/display/voodoo_data.h +++ b/bochs/iodev/display/voodoo_data.h @@ -1837,11 +1837,11 @@ extern bx_thread_event_t fifo_not_full; /* fifo content defines */ #define FIFO_TYPES (7 << 29) -#define FIFO_WR_REG (1 << 29) -#define FIFO_WR_TEX (2 << 29) -#define FIFO_WR_FBI_32 (3 << 29) -#define FIFO_WR_FBI_16L (4 << 29) -#define FIFO_WR_FBI_16H (5 << 29) +#define FIFO_WR_REG (1U << 29) +#define FIFO_WR_TEX (2U << 29) +#define FIFO_WR_FBI_32 (3U << 29) +#define FIFO_WR_FBI_16L (4U << 29) +#define FIFO_WR_FBI_16H (5U << 29) BX_CPP_INLINE void fifo_reset(fifo_state *f) {