mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
(edit_buffer_read_file): fix comparision between signed and unsigned integers.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
2b0c66bc1f
commit
c6844e1918
@ -675,7 +675,7 @@ edit_buffer_read_file (edit_buffer_t * buf, int fd, off_t size)
|
||||
}
|
||||
|
||||
/* reverse buffer */
|
||||
for (i = 0; i < buf->b2->len / 2; i++)
|
||||
for (i = 0; i < (off_t) buf->b2->len / 2; i++)
|
||||
{
|
||||
void **b1, **b2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user