]> granicus.if.org Git - openjpeg/commitdiff
[trunk] explicit cast missing
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 26 Mar 2012 13:02:40 +0000 (13:02 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 26 Mar 2012 13:02:40 +0000 (13:02 +0000)
applications/jpip/libopenjpip/faixbox_manager.c

index fb8b9cd19162fce881fe2d08cefa74970e42c1dd..3c4438326fb4ff670a1c515eead0cc99ea4aa779 100644 (file)
@@ -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)