diff --git a/kernel/src/video/TextConsole.cpp b/kernel/src/video/TextConsole.cpp index d55f433c..92d271e2 100644 --- a/kernel/src/video/TextConsole.cpp +++ b/kernel/src/video/TextConsole.cpp @@ -214,11 +214,11 @@ namespace TextConsole u16 rows() { - return (u16)Framebuffer::height() / FONT_HEIGHT; + return (u16)Framebuffer::height() / (u16)FONT_HEIGHT; } u16 cols() { - return (u16)Framebuffer::width() / FONT_WIDTH; + return (u16)Framebuffer::width() / (u16)FONT_WIDTH; } }