Browse Source

- bugfix, using unsgned int for ifdbase

development
Andreas Romeyke 10 months ago
parent
commit
52af01406e
  1. 2
      src/risk_analyzer/lst_offset_mappings.c

2
src/risk_analyzer/lst_offset_mappings.c

@ -54,7 +54,7 @@ mem_map_t * scan_mem_map(ctiff_t * ctif) {
uint16 ifdcount = get_ifd0_count( ctif); /* how many tags */
add_mem_entry( &memmap, ifd, 2, mt_ifd); /* count of tags in ifd */
int ifdbase=2+ifd;
unsigned int ifdbase=2+ifd;
/* iterate through IFD0 entries */
uint16 tagidx;
for (tagidx = 0; tagidx< ifdcount; tagidx++) {

Loading…
Cancel
Save