fixed minor bugs which were triggering warnings at compilation (different signedness...
[openjpeg.git] / codec / convert.c
index 3f3384df007ce155967d5ef6a3cd25f09d928603..465b0e0b91279f4dc68f52a1731f5983e23d2c1e 100644 (file)
@@ -99,7 +99,7 @@ typedef struct tga_header
 } tga_header;
 #pragma pack(pop) // Return to normal structure packing alignment.
 
-int tga_readheader(FILE *fp, int *bits_per_pixel, int *width, int *height, int *flip_image)
+int tga_readheader(FILE *fp, uint32 *bits_per_pixel, uint32 *width, uint32 *height, int *flip_image)
 {
        int palette_size;
        tga_header tga ;