From 56af50cb1d6e3dcdcde605483fb049d554829683 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Mon, 8 Sep 2014 17:16:22 +0400 Subject: [PATCH] (mcview_get_byte): fix value returned in case of error. Signed-off-by: Andrew Borodin --- src/viewer/inlines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/inlines.h b/src/viewer/inlines.h index 4e34caec8..c15a7de26 100644 --- a/src/viewer/inlines.h +++ b/src/viewer/inlines.h @@ -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; } /* --------------------------------------------------------------------------------------------- */