]> granicus.if.org Git - openjpeg/commitdiff
fix some warnings in jp2.c
authorMickael Savinaud <savmickael@users.noreply.github.com>
Mon, 13 Aug 2012 08:30:00 +0000 (08:30 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Mon, 13 Aug 2012 08:30:00 +0000 (08:30 +0000)
applications/codec/image_to_j2k.c
libopenjpeg/jp2.h

index 71bafdb2e868b2c1c820f0c375e87d03d6e24251..74d4b1a510f87b82a168f1dae068772206a729f7 100644 (file)
@@ -1594,7 +1594,6 @@ int main(int argc, char **argv) {
        opj_codec_t* l_codec = 00;
        opj_image_t *image = NULL;
        raw_cparameters_t raw_cp;
-       opj_codestream_info_t cstr_info;                /* Codestream information structure */
 
        char indexfilename[OPJ_PATH_LEN];       /* index file name */
 
index 9b9259c4e3bc1349cc70dd551f78936cfb47c7f0..8309c28836dad6193bca32b4db86f16abd4293c3 100644 (file)
@@ -119,7 +119,7 @@ Palette data: table entries, palette columns
 */
 typedef struct opj_jp2_pclr
 {
-    OPJ_INT32 *entries;
+    OPJ_UINT32 *entries;
     OPJ_BYTE *channel_sign;
     OPJ_BYTE *channel_size;
     opj_jp2_cmap_comp_t *cmap;