diff options
Diffstat (limited to 'drivers/tty.c')
| -rw-r--r-- | drivers/tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty.c b/drivers/tty.c index ae15778..e39722b 100644 --- a/drivers/tty.c +++ b/drivers/tty.c @@ -75,12 +75,12 @@ uint8_t tty_get_color(void) return term_col; } -void tty_putchar_at(char ch, uint8_t col, int x, int y) +void tty_putchar_at(int ch, uint8_t col, int x, int y) { - term_buf[y * VGA_WIDTH + x] = VGA_MAKE_ENTRY(ch, col); + term_buf[y * VGA_WIDTH + x] = VGA_MAKE_ENTRY((char)ch, col); } -void tty_putchar(char ch) +void tty_putchar(int ch) { if(ch != '\n') { |