(mcview_get_byte): fix value returned in case of error.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2014-09-08 17:16:22 +04:00
parent 052ac838aa
commit 56af50cb1d

View File

@ -120,7 +120,7 @@ mcview_get_byte (mcview_t * view, off_t offset, int *retval)
#ifdef HAVE_ASSERT_H
assert (!"Unknown datasource type");
#endif
return -1;
return FALSE;
}
/* --------------------------------------------------------------------------------------------- */