refactor: replace all stdint::uint32_t into short and more manageable u32_t
[lunaix-os.git] / lunaix-os / kernel / tty / tty.c
index b8631b6482c935cf313702746ac045033caa87a3..399b28df6f3f23d474337709aa8ba0966ad31ac4 100644 (file)
@@ -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);