diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-05-14 17:25:10 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-05-14 17:25:10 +0000 |
| commit | 717a7dbfde9da85d2a6b09443a0c2c2ba3bd7dbc (patch) | |
| tree | ce0d266a5447d0d74e356e74df3f02f34ed76909 /tests/test_tile_encoder.c | |
| parent | 0fb657651126804f8f5dc891cc4e8772121a7945 (diff) | |
resolve bug under win arch with test_tile_encoder.c
Diffstat (limited to 'tests/test_tile_encoder.c')
| -rw-r--r-- | tests/test_tile_encoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_tile_encoder.c b/tests/test_tile_encoder.c index db9d549f..2d8aa22b 100644 --- a/tests/test_tile_encoder.c +++ b/tests/test_tile_encoder.c @@ -93,6 +93,7 @@ int main (int argc, char *argv[]) opj_stream_t * l_stream; OPJ_UINT32 l_nb_tiles; OPJ_UINT32 l_data_size; + unsigned char len; #ifdef USING_MCT const OPJ_FLOAT32 l_mct [] = @@ -246,7 +247,7 @@ int main (int argc, char *argv[]) } // should we do j2k or jp2 ? - size_t len = strlen( output_file ); + len = strlen( output_file ); if( strcmp( output_file + len - 4, ".jp2" ) == 0 ) { l_codec = opj_create_compress_v2(CODEC_JP2); |
