Browse Source

- bugfix, using unsgned int for ifdbase

development
Andreas Romeyke 8 months ago
parent
commit
52af01406e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/risk_analyzer/lst_offset_mappings.c

+ 1
- 1
src/risk_analyzer/lst_offset_mappings.c View File

@ -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