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

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>