diff --git a/src/common/emu_window.cpp b/src/common/emu_window.cpp index 1082ae26dfd72d20ad049dcd1b4672e2314cd2f3..6459d2f32e10b5691982ca5ef29b4d5ae418f512 100644 --- a/src/common/emu_window.cpp +++ b/src/common/emu_window.cpp @@ -17,7 +17,7 @@ void EmuWindow::KeyReleased(KeyMap::HostDeviceKey key) { Service::HID::PadButtonRelease(mapped_key); } -EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(int width, int height) { +EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(unsigned width, unsigned height) { ASSERT(width > 0); ASSERT(height > 0); diff --git a/src/common/emu_window.h b/src/common/emu_window.h index b6862030e3b129e529ce1b4dd9ff8128a3866a15..f6099fdb64cc9f60898fa44e0fb211949841797e 100644 --- a/src/common/emu_window.h +++ b/src/common/emu_window.h @@ -48,7 +48,7 @@ public: * @param height Window framebuffer height in pixels * @return Newly created FramebufferLayout object with default screen regions initialized */ - static FramebufferLayout DefaultScreenLayout(int width, int height); + static FramebufferLayout DefaultScreenLayout(unsigned width, unsigned height); unsigned width; unsigned height;