From 86ed364dc0324facdcbb9908321196a5b026286b Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Mon, 26 Mar 2012 13:02:40 +0000 Subject: [PATCH] [trunk] explicit cast missing --- applications/jpip/libopenjpip/faixbox_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/jpip/libopenjpip/faixbox_manager.c b/applications/jpip/libopenjpip/faixbox_manager.c index fb8b9cd1..3c443832 100644 --- a/applications/jpip/libopenjpip/faixbox_manager.c +++ b/applications/jpip/libopenjpip/faixbox_manager.c @@ -185,7 +185,7 @@ Byte4_t get_elemAux( faixbox_param_t *faix, Byte8_t elem_id, Byte8_t row_id) { Byte8_t nmax; if( faix->version <2) - return -1; + return (Byte4_t)-1; nmax = get_nmax( faix); if( faix->version%2) -- 2.40.0