fix sign compare warn - no real bug to see here
This commit is contained in:
parent
43224731e0
commit
03d15389a5
|
@ -226,7 +226,8 @@ _fd_read_do(Termpty *ty, Ecore_Fd_Handler *fd_handler, Eina_Bool false_on_empty)
|
|||
{
|
||||
char buf[4097];
|
||||
Eina_Unicode codepoint[4097];
|
||||
int len, i, j, k, reads;
|
||||
int len, i, j, reads;
|
||||
unsigned int k;
|
||||
|
||||
if (ecore_main_fd_handler_active_get(fd_handler, ECORE_FD_ERROR))
|
||||
{
|
||||
|
@ -311,7 +312,7 @@ _fd_read_do(Termpty *ty, Ecore_Fd_Handler *fd_handler, Eina_Bool false_on_empty)
|
|||
(len - prev_i) <= (int)sizeof(ty->oldbuf))
|
||||
{
|
||||
for (k = 0;
|
||||
(k < (int)sizeof(ty->oldbuf)) &&
|
||||
(k < (unsigned int)sizeof(ty->oldbuf)) &&
|
||||
(k < (len - prev_i));
|
||||
k++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue