WindowServer: Fix build after FBResolution changes

This commit is contained in:
Andreas Kling 2020-04-29 11:41:34 +02:00
commit 13dcd9a037
Notes: sideshowbarker 2024-07-19 07:11:56 +09:00

View file

@ -70,7 +70,7 @@ Screen::~Screen()
bool Screen::set_resolution(int width, int height) 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); int rc = fb_set_resolution(m_framebuffer_fd, &resolution);
#ifdef WSSCREEN_DEBUG #ifdef WSSCREEN_DEBUG
dbg() << "fb_set_resolution() - return code " << rc; dbg() << "fb_set_resolution() - return code " << rc;