From b3a9c38d5c9e2e4ea7f6ff57f8a0243264d5cb07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 4 Nov 2014 20:01:42 -0800 Subject: [PATCH] Fixed narrowing conversion warning. --- src/glcontext_wgl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glcontext_wgl.cpp b/src/glcontext_wgl.cpp index ce841509e..be3bfea4e 100644 --- a/src/glcontext_wgl.cpp +++ b/src/glcontext_wgl.cpp @@ -217,7 +217,7 @@ namespace bgfx // create context will fail and it will error out there. BX_WARN(result, "SetPixelFormat failed (last err: 0x%08x)!", GetLastError() ); - uint32_t flags = BGFX_CONFIG_DEBUG ? WGL_CONTEXT_DEBUG_BIT_ARB : 0; + int32_t flags = BGFX_CONFIG_DEBUG ? WGL_CONTEXT_DEBUG_BIT_ARB : 0; BX_UNUSED(flags); int32_t contextAttrs[9] = {