(edit_buffer_read_file): fix comparision between signed and unsigned integers.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2013-07-05 13:14:18 +04:00
parent 2b0c66bc1f
commit c6844e1918

View File

@ -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;