fixed windows nighlty crash about one missing opj_getopt() (and warning with other platform)

This commit is contained in:
Mickael Savinaud 2011-09-02 08:34:38 +00:00
parent 480ca88b68
commit bc7c3e44d5
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
September 2, 2011
* [mickael] fixed windows nighlty crash about one missing opj_getopt() (and warning with other platform)
September 1st, 2011
! [antonin] renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried.

View File

@ -74,7 +74,7 @@ int parse_cmdline_cmp(int argc, char **argv, test_cmp_parameters* param)
param->test_filename = NULL;
opj_opterr = 0;
while ((c = getopt(argc, argv, optlist)) != -1)
while ((c = opj_getopt(argc, argv, optlist)) != -1)
switch (c)
{
case 'b':