fixed issue 74 for trunk

This commit is contained in:
Mickael Savinaud 2011-07-25 07:31:52 +00:00
parent 06363c01e4
commit a7f08e9b36
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,9 @@ What's New for OpenJPEG
July 22, 2011 July 22, 2011
! [mickael] correct some troubles about thirdparty when they are used ! [mickael] correct some troubles about thirdparty when they are used
July 25, 2011
* fixed issue 74 for trunk
July 21, 2011 July 21, 2011
! [mickael] correct a compil error linked to getopt with win platform ! [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. !+ [mickael] add new decode tests based on conformance data and tolerance. Non regression is also added on the decoder output. Deactivate old tests.

View File

@ -458,7 +458,7 @@ opj_image_t* bmptoimage(const char *filename, opj_cparameters_t *parameters)
if(Info_h.biSize != 40) 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); fclose(IN);
return NULL; return NULL;
} }