dragon ports: Fix signedness warning in devtty.c
authorTormod Volden <debian.tormod@gmail.com>
Fri, 8 May 2015 20:23:21 +0000 (22:23 +0200)
committerAlan Cox <alan@linux.intel.com>
Sat, 9 May 2015 17:13:55 +0000 (18:13 +0100)
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/platform-dragon-nx32/devtty.c
Kernel/platform-dragon/devtty.c

index 35502e2..74dda36 100644 (file)
@@ -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},
index 35502e2..74dda36 100644 (file)
@@ -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},