From: Brett Gordon Date: Thu, 28 Apr 2016 13:57:52 +0000 (-0400) Subject: coco3: ttydw: clean up compiler warnings X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=cba9ceb72fe5ba2003aa79b05b8a2055c077b155;p=FUZIX.git coco3: ttydw: clean up compiler warnings --- 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 );