Browse Source

- fixed param in snprintf-call

tags/v0.5.0
Andreas Romeyke 2 years ago
parent
commit
4247779832
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/ifdrules/check_all_geotiff_tags.c

+ 1
- 1
src/ifdrules/check_all_geotiff_tags.c View File

@@ -91,7 +91,7 @@ char value[VALUESTRLEN];
if ( /* check if "count" and "NumberOfKeys" consistent */
((uint32) num_of_keys * 4) != (count - 4)
) {
snprintf(value, sizeof(value), "NumberOfKeys (4*%i=%i) differs with count of tag entries (%i-4=%i) for GeoKeyDirectory", num_of_keys, ((uint32) num_of_keys * 4), count, (count - 4));
snprintf(value, sizeof(value), "NumberOfKeys (4*%u=%u) differs with count of tag entries (%u-4=%u) for GeoKeyDirectory", num_of_keys, ((uint32) num_of_keys * 4), count, (count - 4));
ret = set_value_found_ret(&ret, value);
ret.returncode = tagerror_value_differs;
return ret;


Loading…
Cancel
Save