Browse Source

- minor fix (uint16 instead uint in loop), thanks to Nils F.

development
Andreas Romeyke 2 years ago
parent
commit
95e34abca1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/helper/check_tiffparse.c

+ 1
- 1
src/helper/check_tiffparse.c View File

@ -133,7 +133,7 @@ int TIFFGetRawTagListIndex(ctiff_t * ctif, tag_t tag) { /* find n-th entry in IF
if (0 == count) { return -1; }
tag_t last = TIFFGetRawTagListEntry(ctif, 0);
ctif->tag_cache[last] = 0;
for (uint i= 1; i < count; i++) {
for (uint16 i= 1; i < count; i++) {
tag_t current = TIFFGetRawTagListEntry( ctif, i );
if (last >= current) {
ctif->tagorder=has_unsorted_tags;


Loading…
Cancel
Save