From: Mathieu Malaterre Date: Mon, 29 Oct 2012 16:07:09 +0000 (+0000) Subject: [trunk] Make sure to use off_t X-Git-Tag: version.2.0~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=482d9b58b329ad8e7fe746a373603071dba4bfb9;p=openjpeg [trunk] Make sure to use off_t --- diff --git a/src/lib/openjp2/jp2.c b/src/lib/openjp2/jp2.c index abb5a9bf..9b7caa4e 100644 --- a/src/lib/openjp2/jp2.c +++ b/src/lib/openjp2/jp2.c @@ -2500,7 +2500,7 @@ static void write_prxy( int offset_jp2c, int length_jp2c, int offset_idx, int le opj_event_mgr_t * p_manager ) { OPJ_BYTE l_data_header [8]; - int len, lenp; + OPJ_OFF_T len, lenp; lenp = opj_stream_tell(cio); opj_stream_skip(cio, 4, p_manager); /* L [at the end] */ @@ -2534,7 +2534,7 @@ static int write_fidx( int offset_jp2c, int length_jp2c, int offset_idx, int len opj_event_mgr_t * p_manager ) { OPJ_BYTE l_data_header [4]; - int len, lenp; + OPJ_OFF_T len, lenp; lenp = opj_stream_tell(cio); opj_stream_skip(cio, 4, p_manager);