X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/ea77b9c3fc7fb9bf9d7f9604fc187c8049212a2a..f8bd95b7a13dfe54d800e2d7ecdb0329f0798289:/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);