]> Creatis software - gdcm.git/blobdiff - src/gdcmjasper/src/libjasper/pnm/pnm_dec.c
ENH: Ok since OJ warnings are not going to be fixed anytime soon remove them
[gdcm.git] / src / gdcmjasper / src / libjasper / pnm / pnm_dec.c
index 759bc70800cc60c243427277c2860ce99db57013..47716a7b9c26221e2d143cdcbb2979e2995bd631 100644 (file)
@@ -64,7 +64,7 @@
 /*
  * Portable Pixmap/Graymap Format Support
  *
- * $Id: pnm_dec.c,v 1.1 2005/05/22 18:33:09 malaterre Exp $
+ * $Id: pnm_dec.c,v 1.2 2005/06/11 02:05:38 malaterre Exp $
  */
 
 /******************************************************************************\
@@ -352,7 +352,7 @@ static int pnm_getdata(jas_stream_t *in, pnm_hdr_t *hdr, jas_image_t *image)
               v = uv;
             }
           }
-          jas_matrix_set(data[cmptno], 0, x, v);
+          jas_matrix_set(data[cmptno], 0, x, (jas_seqent_t)v);
         }
       }
     }