1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 19:05:07 +00:00

WindowServer: Fix build after FBResolution changes

This commit is contained in:
Andreas Kling 2020-04-29 11:41:34 +02:00
parent d4ec38097f
commit 13dcd9a037

View file

@ -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;