aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2015-03-07 18:26:28 -0500
committerGravatar bunnei <bunneidev@gmail.com>2015-03-07 18:26:28 -0500
commit25633b431d78bb031349f275f202e10207acd62b (patch)
tree6d3451d26c6c307ba10c70ea86955acf72e2e640 /src/common
parent06bf4715810489548a9a3b5e9274dfc78bc3fc4d (diff)
Fixed EmuWindow typo (fixes OSX build)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/emu_window.cpp2
-rw-r--r--src/common/emu_window.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/emu_window.cpp b/src/common/emu_window.cpp
index 1082ae26..6459d2f3 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 b6862030..f6099fdb 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;