summaryrefslogtreecommitdiff
path: root/libopenjpeg/openjpeg.h
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-04-23 09:16:17 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-04-23 09:16:17 +0000
commitdf7e6560343abfde3af1d2f219385d03ab75f017 (patch)
treee17c7a56475f392bbffbb5dfdf4d8e727f29e8e9 /libopenjpeg/openjpeg.h
parentd045409b9f3af271262198a7634faa32a0c06065 (diff)
Fix a set of warnings reported by gcc in cio.c. This patch impact the API directly (remove left over 32bits API)
Diffstat (limited to 'libopenjpeg/openjpeg.h')
-rw-r--r--libopenjpeg/openjpeg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h
index b4004587..f6004eb0 100644
--- a/libopenjpeg/openjpeg.h
+++ b/libopenjpeg/openjpeg.h
@@ -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