From a7f08e9b36fbdc87c7a51a3c83879531f30405eb Mon Sep 17 00:00:00 2001 From: Mickael Savinaud Date: Mon, 25 Jul 2011 07:31:52 +0000 Subject: [PATCH] fixed issue 74 for trunk --- CHANGES | 3 +++ applications/codec/convert.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 8b8b4524..867e3532 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,9 @@ What's New for OpenJPEG July 22, 2011 ! [mickael] correct some troubles about thirdparty when they are used +July 25, 2011 +* fixed issue 74 for trunk + July 21, 2011 ! [mickael] correct a compil error linked to getopt with win platform !+ [mickael] add new decode tests based on conformance data and tolerance. Non regression is also added on the decoder output. Deactivate old tests. diff --git a/applications/codec/convert.c b/applications/codec/convert.c index 8ca54a4f..537f9c60 100644 --- a/applications/codec/convert.c +++ b/applications/codec/convert.c @@ -458,7 +458,7 @@ opj_image_t* bmptoimage(const char *filename, opj_cparameters_t *parameters) if(Info_h.biSize != 40) { - fprintf(stderr,"Error, unknown BMP header size %d\n", Info_h.biSize); + fprintf(stderr,"Error, unknown BMP header size %ld\n", Info_h.biSize); fclose(IN); return NULL; } -- 2.30.2