From: Mathieu Malaterre Date: Mon, 26 Mar 2012 13:02:40 +0000 (+0000) Subject: [trunk] explicit cast missing X-Git-Tag: version.2.0~445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86ed364dc0324facdcbb9908321196a5b026286b;p=openjpeg [trunk] explicit cast missing --- 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)