From cba9ceb72fe5ba2003aa79b05b8a2055c077b155 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Thu, 28 Apr 2016 09:57:52 -0400 Subject: [PATCH] coco3: ttydw: clean up compiler warnings --- Kernel/platform-coco3/ttydw.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Kernel/platform-coco3/ttydw.c b/Kernel/platform-coco3/ttydw.c index 11361ef5..4e6e9d93 100644 --- a/Kernel/platform-coco3/ttydw.c +++ b/Kernel/platform-coco3/ttydw.c @@ -117,7 +117,7 @@ int open_ports=0; /* buffer for receiving multiple bytes from vport channels */ -char tbuf[256]; +unsigned char tbuf[256]; int mini( int a, int b ){ @@ -236,7 +236,6 @@ void dw_vpoll( ){ if( buf[0] < 32 ){ int i; unsigned char b[3]; - char c; int min; int minor=dw_minor( buf[0]-17 ); b[0]=DW_SERREADM; @@ -277,7 +276,7 @@ int dw_carrier( uint8_t minor ){ /* (re) Initializes DW */ void dw_init( ){ - char buf[2]; + unsigned char buf[2]; buf[0]=DW_INIT; buf[1]=0x42; dw_transaction( buf,2,buf,1 ); -- 2.34.1