summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-26 13:49:32 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-26 13:49:32 +0000
commit6bd41e47accb059e9dc853d44400e14f63e25f63 (patch)
treef42ab2bf1d88444ff117e62f2d6aa6450eba02d0
parent45d11c53f07fd257ac3499ec250d228522a05bf3 (diff)
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (manfbox_manager)
-rw-r--r--applications/jpip/libopenjpip/manfbox_manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/jpip/libopenjpip/manfbox_manager.c b/applications/jpip/libopenjpip/manfbox_manager.c
index 13657311..37472461 100644
--- a/applications/jpip/libopenjpip/manfbox_manager.c
+++ b/applications/jpip/libopenjpip/manfbox_manager.c
@@ -47,14 +47,14 @@ manfbox_param_t * gene_manfbox( box_param_t *box)
manfbox_param_t *manf; /* manifest parameters */
boxheader_param_t *bh; /* current box pointer */
boxheader_param_t *last; /* last boxheader pointer of the list */
- Byte8_t pos; /* current position in manf_box contents; */
+ OPJ_OFF_T pos; /* current position in manf_box contents; */
manf = ( manfbox_param_t *)malloc( sizeof( manfbox_param_t));
pos = 0;
manf->first = last = NULL;
- while( pos < get_DBoxlen( box)){
+ while( (OPJ_SIZE_T)pos < get_DBoxlen( box)){
bh = gene_childboxheader( box, pos);
pos += bh->headlen;