[trunk] Make sure to use off_t
This commit is contained in:
parent
5903dd7d82
commit
482d9b58b3
|
@ -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_event_mgr_t * p_manager )
|
||||||
{
|
{
|
||||||
OPJ_BYTE l_data_header [8];
|
OPJ_BYTE l_data_header [8];
|
||||||
int len, lenp;
|
OPJ_OFF_T len, lenp;
|
||||||
|
|
||||||
lenp = opj_stream_tell(cio);
|
lenp = opj_stream_tell(cio);
|
||||||
opj_stream_skip(cio, 4, p_manager); /* L [at the end] */
|
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_event_mgr_t * p_manager )
|
||||||
{
|
{
|
||||||
OPJ_BYTE l_data_header [4];
|
OPJ_BYTE l_data_header [4];
|
||||||
int len, lenp;
|
OPJ_OFF_T len, lenp;
|
||||||
|
|
||||||
lenp = opj_stream_tell(cio);
|
lenp = opj_stream_tell(cio);
|
||||||
opj_stream_skip(cio, 4, p_manager);
|
opj_stream_skip(cio, 4, p_manager);
|
||||||
|
|
Loading…
Reference in New Issue