From ef4e9582e114b5ed628eed878d45637694537991 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Fri, 12 Oct 2007 00:40:13 +0000 Subject: Slight change at line 1017 to avoid unsigned/signed warning. svn path=/trunk/externals/iem/comport/; revision=8803 --- comport/comport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comport/comport.c b/comport/comport.c index 5ee24c3..fc516fb 100644 --- a/comport/comport.c +++ b/comport/comport.c @@ -1014,7 +1014,7 @@ static int write_serial(t_comport *x, unsigned char serial_byte) static int write_serials(t_comport *x, unsigned char *serial_buf, size_t buf_length) { int result = write(x->comhandle,(char *)serial_buf, buf_length); - if (result != buf_length) + if (result != (int)buf_length) post ("[comport] write returned %d, errno is %d", result, errno); return result; } -- cgit v1.2.1