From ec1354fc8da7f04c2298416faa669adec705596a Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 5 Dec 2022 13:06:12 +0100 Subject: [PATCH] const in TextConsole --- kernel/src/video/TextConsole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/video/TextConsole.cpp b/kernel/src/video/TextConsole.cpp index f6a55fa6..b49588bf 100644 --- a/kernel/src/video/TextConsole.cpp +++ b/kernel/src/video/TextConsole.cpp @@ -22,7 +22,7 @@ static u32 g_y_position = 0; static void putchar_at(char c, u32 x, u32 y) { - u8* glyph = &font[c * 16]; + const u8* glyph = &font[c * 16]; for (u32 i = 0; i < FONT_HEIGHT; i++) { for (u32 j = 0; j < FONT_WIDTH; j++)