forked from enlightenment/efl
ecore pipe - fix warning of comparing integers of differing sizes
This commit is contained in:
parent
f1693ee3e2
commit
a7d7af0d21
|
@ -633,7 +633,7 @@ _ecore_pipe_read(void *data,
|
|||
|
||||
/* catch the non error case first */
|
||||
/* if we read enough data to finish the message/buffer */
|
||||
if (ret == (p->len - p->already_read))
|
||||
if (ret == (ssize_t)(p->len - p->already_read))
|
||||
_ecore_pipe_handler_call(p, p->passed_data, p->len);
|
||||
else if (ret > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue