Browse Source

- fixed warning

development
Andreas Romeyke 2 years ago
parent
commit
cdfc28aa82
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/ifdrules/check_all_geotiff_tags.c

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

@ -1,7 +1,7 @@
/* rule based checks if given TIFF is a specific baseline TIFF
*
*
* author: Andreas Romeyke, 2015-2018
* licensed under conditions of libtiff
* licensed under conditions of libtiff
* (see http://libtiff.maptools.org/misc.html)
*
*/
@ -76,7 +76,7 @@ ret_t check_all_geotiff_tags(ctiff_t * ctif) {
uint32 count = ifd_entry.count;
char value[VALUESTRLEN];
memset(value, '\0', VALUESTRLEN);
/* type is short? */
switch (ifd_entry.datatype) {
case TIFF_SHORT: {
@ -105,7 +105,7 @@ ret_t check_all_geotiff_tags(ctiff_t * ctif) {
for (uint32 i=4; i< count; i++) {
#ifdef DEBUG
uint16 pval = *p;
printf("SHORTOFFSET (tag=%i): v[%i]=%u p[%i]=0x%04x\n", tag, i,v[i],i,pval);
printf("SHORTOFFSET (tag=%u): v[%u]=%u p[%u]=0x%04x\n", tag, i,v[i],i,pval);
#endif
p++;
}


Loading…
Cancel
Save