X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/6d75e31596b5ac2e638c8a31c6c2185ee4053b6b..8c6f505faaa66e18cdca108dca549d4ad806a077:/lunaix-os/kernel/tty/tty.c diff --git a/lunaix-os/kernel/tty/tty.c b/lunaix-os/kernel/tty/tty.c index b8631b6..399b28d 100644 --- a/lunaix-os/kernel/tty/tty.c +++ b/lunaix-os/kernel/tty/tty.c @@ -113,7 +113,7 @@ tty_set_cursor(uint8_t x, uint8_t y) if (x >= TTY_WIDTH || y >= TTY_HEIGHT) { x = y = 0; } - uint32_t pos = y * TTY_WIDTH + x; + u32_t pos = y * TTY_WIDTH + x; io_outb(0x3D4, 14); io_outb(0x3D5, pos / 256); io_outb(0x3D4, 15);