summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/tty.c')
-rw-r--r--src/kernel/arch/i386/tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/tty.c b/src/kernel/arch/i386/tty.c
index b9ebdb6..0858bd7 100644
--- a/src/kernel/arch/i386/tty.c
+++ b/src/kernel/arch/i386/tty.c
@@ -10,7 +10,7 @@ static struct vga_cell *vga = (void*) 0xB8000;
static size_t vga_pos = 0;
static void tty_scroll() {
- for (int i = 0; i < vga_len - 80; i++) {
+ for (size_t i = 0; i < vga_len - 80; i++) {
vga[i] = vga[i + 80];
}
vga_pos -= 80;