ecore pipe - fix warning of comparing integers of differing sizes

This commit is contained in:
Carsten Haitzler 2017-02-11 13:05:44 +09:00
parent f1693ee3e2
commit a7d7af0d21
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{