diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2007-10-12 00:40:13 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2007-10-12 00:40:13 +0000 |
commit | ef4e9582e114b5ed628eed878d45637694537991 (patch) | |
tree | 9a640539c94887379d84eda0cf9e0e5234c04069 | |
parent | ea14c0fe896e93223cbe4274d79f28dca835eb5a (diff) |
Slight change at line 1017 to avoid unsigned/signed warning.
svn path=/trunk/externals/iem/comport/; revision=8803
-rw-r--r-- | comport/comport.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |