From: Tormod Volden Date: Fri, 8 May 2015 20:23:21 +0000 (+0200) Subject: dragon ports: Fix signedness warning in devtty.c X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0df58e33edfdf7756a90e44d12ee0f0637b03a7d;p=FUZIX.git dragon ports: Fix signedness warning in devtty.c Signed-off-by: Tormod Volden --- diff --git a/Kernel/platform-dragon-nx32/devtty.c b/Kernel/platform-dragon-nx32/devtty.c index 35502e29..74dda369 100644 --- a/Kernel/platform-dragon-nx32/devtty.c +++ b/Kernel/platform-dragon-nx32/devtty.c @@ -14,8 +14,8 @@ uint8_t *uart_status = (uint8_t *)0xFF05; /* ACIA status */ uint8_t *uart_command = (uint8_t *)0xFF06; /* ACIA command */ uint8_t *uart_control = (uint8_t *)0xFF07; /* ACIA control */ -char tbuf1[TTYSIZ]; -char tbuf2[TTYSIZ]; +unsigned char tbuf1[TTYSIZ]; +unsigned char tbuf2[TTYSIZ]; struct s_queue ttyinq[NUM_DEV_TTY + 1] = { /* ttyinq[0] is never used */ {NULL, NULL, NULL, 0, 0, 0}, diff --git a/Kernel/platform-dragon/devtty.c b/Kernel/platform-dragon/devtty.c index 35502e29..74dda369 100644 --- a/Kernel/platform-dragon/devtty.c +++ b/Kernel/platform-dragon/devtty.c @@ -14,8 +14,8 @@ uint8_t *uart_status = (uint8_t *)0xFF05; /* ACIA status */ uint8_t *uart_command = (uint8_t *)0xFF06; /* ACIA command */ uint8_t *uart_control = (uint8_t *)0xFF07; /* ACIA control */ -char tbuf1[TTYSIZ]; -char tbuf2[TTYSIZ]; +unsigned char tbuf1[TTYSIZ]; +unsigned char tbuf2[TTYSIZ]; struct s_queue ttyinq[NUM_DEV_TTY + 1] = { /* ttyinq[0] is never used */ {NULL, NULL, NULL, 0, 0, 0},