summaryrefslogtreecommitdiff
path: root/libopenjpeg/cio.c
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-09-09 14:52:42 +0000
committerAntonin Descampe <antonin@gmail.com>2011-09-09 14:52:42 +0000
commit3d06f0307277d4372d83f06e96663f8d6a829ebc (patch)
treeb4206c90b4fe6f1fe2372ea0a0cf8513b669e2b2 /libopenjpeg/cio.c
parent5213675ba8d06c586aa5f65418ff850e238610d8 (diff)
BRANCH-1.5:added a new indexer functionality to the library. With the new -jpip option at encoding, the user can now generate a JP2 file including an XML box with the index used when browsing the image with JPIP
Diffstat (limited to 'libopenjpeg/cio.c')
-rw-r--r--libopenjpeg/cio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/cio.c b/libopenjpeg/cio.c
index 3b0f816f..b8a7ecf8 100644
--- a/libopenjpeg/cio.c
+++ b/libopenjpeg/cio.c
@@ -152,7 +152,7 @@ unsigned char cio_bytein(opj_cio_t *cio) {
* v : value to write
* n : number of bytes to write
*/
-unsigned int cio_write(opj_cio_t *cio, unsigned int v, int n) {
+unsigned int cio_write(opj_cio_t *cio, unsigned long long int v, int n) {
int i;
for (i = n - 1; i >= 0; i--) {
if( !cio_byteout(cio, (unsigned char) ((v >> (i << 3)) & 0xff)) )