From 30176ceab8d4c15a73b75d45d45615596a32f571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 2 Dec 2022 19:19:13 -0800 Subject: [PATCH] Fixed MSVC warning. --- src/bgfx_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgfx_p.h b/src/bgfx_p.h index 7c0a712b1..31ede49d0 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -342,7 +342,7 @@ namespace bgfx template constexpr Handle(Ty _handle) : idx(_handle.idx) - , type(toEnum() ) + , type(uint16_t(toEnum() ) ) { }