Code cleanup (fixes compiler warnings, refs #103)

This commit is contained in:
saschawillems 2017-04-22 16:54:25 +02:00
parent 39824db3e6
commit 95e124ea83
2 changed files with 3 additions and 3 deletions

View file

@ -951,7 +951,7 @@ HWND VulkanExampleBase::setupWindow(HINSTANCE hinstance, WNDPROC wndproc)
dmScreenSettings.dmBitsPerPel = 32;
dmScreenSettings.dmFields = DM_BITSPERPEL | DM_PELSWIDTH | DM_PELSHEIGHT;
if ((width != screenWidth) && (height != screenHeight))
if ((width != (uint32_t)screenWidth) && (height != (uint32_t)screenHeight))
{
if (ChangeDisplaySettings(&dmScreenSettings, CDS_FULLSCREEN) != DISP_CHANGE_SUCCESSFUL)
{