From 6bd41e47accb059e9dc853d44400e14f63e25f63 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Mon, 26 Mar 2012 13:49:32 +0000 Subject: [PATCH] [trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (manfbox_manager) --- applications/jpip/libopenjpip/manfbox_manager.c | 4 ++-- 1 file 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;