Fix a set of warnings reported by gcc in cio.c. This patch impact the API directly (remove left over 32bits API)

This commit is contained in:
Mathieu Malaterre
2012-04-23 09:16:17 +00:00
parent d045409b9f
commit df7e656034
3 changed files with 57 additions and 48 deletions

View File

@@ -559,6 +559,7 @@ typedef struct opj_cio {
/** pointer to the start of the buffer */
unsigned char *buffer;
/** buffer size in bytes */
/* FIXME: MM length is 'int' ?? */
int length;
/** pointer to the start of the stream */
@@ -1080,7 +1081,7 @@ Get position in byte stream
@param cio CIO handle
@return Returns the position in bytes
*/
OPJ_API int OPJ_CALLCONV cio_tell(opj_cio_t *cio);
OPJ_API OPJ_OFF_T OPJ_CALLCONV cio_tell(opj_cio_t *cio);
/**
Set position in byte stream
@param cio CIO handle