diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-29 11:41:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-29 11:41:34 +0200 |
commit | 13dcd9a0379c09e0c88f6a814b58e4a76e34c0ee (patch) | |
tree | 06b163e86d763fbdfe3c015d8f52a06c3f46d3a2 /Servers/WindowServer | |
parent | d4ec38097f833229f021deadc35d75c433a5231b (diff) | |
download | serenity-13dcd9a0379c09e0c88f6a814b58e4a76e34c0ee.zip |
WindowServer: Fix build after FBResolution changes
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r-- | Servers/WindowServer/Screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/Screen.cpp b/Servers/WindowServer/Screen.cpp index cf85814ed0..3658dcd8dd 100644 --- a/Servers/WindowServer/Screen.cpp +++ b/Servers/WindowServer/Screen.cpp @@ -70,7 +70,7 @@ Screen::~Screen() bool Screen::set_resolution(int width, int height) { - FBResolution resolution { 0, (int)width, (int)height }; + FBResolution resolution { 0, (unsigned)width, (unsigned)height }; int rc = fb_set_resolution(m_framebuffer_fd, &resolution); #ifdef WSSCREEN_DEBUG dbg() << "fb_set_resolution() - return code " << rc; |