Slight change at line 1017 to avoid unsigned/signed warning.
svn path=/trunk/externals/iem/comport/; revision=8803
This commit is contained in:
parent
ea14c0fe89
commit
ef4e9582e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
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);
|
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);
|
post ("[comport] write returned %d, errno is %d", result, errno);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue