Blind Windows compile fix

This commit is contained in:
Siana Gearz
2012-12-09 04:43:54 +01:00
parent 3e5bd4e13b
commit 018737eb15
3 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ int write_phixfaix( int coff, int compno, opj_codestream_info_t cstr_info, opj_b
packet.end_ph_pos = packet.start_pos = -1;
(void)EPHused; /* unused ? */
if( j2klen > pow( 2, 32)){
if( j2klen > pow( 2.0, 32)){
size_of_coding = 8;
version = 1;
}

View File

@@ -96,7 +96,7 @@ int write_ppixfaix( int coff, int compno, opj_codestream_info_t cstr_info, opj_b
packet.end_pos = packet.end_ph_pos = packet.start_pos = -1;
(void)EPHused; /* unused ? */
if( j2klen > pow( 2, 32)){
if( j2klen > pow( 2.0, 32)){
size_of_coding = 8;
version = 1;
}

View File

@@ -90,7 +90,7 @@ int write_tpixfaix( int coff, int compno, opj_codestream_info_t cstr_info, int j
num_max_tile_parts = get_num_max_tile_parts( cstr_info);
if( j2klen > pow( 2, 32)){
if( j2klen > pow( 2.0, 32)){
size_of_coding = 8;
version = num_max_tile_parts == 1 ? 1:3;
}