Browse Source

- minor fix, use unsigned r

development
Andreas Romeyke 10 months ago
parent
commit
0c77e076a4
  1. 2
      src/tagrules/check_tag_has_valid_asciivalue.c

2
src/tagrules/check_tag_has_valid_asciivalue.c

@ -25,7 +25,7 @@ ret_t check_tag_has_valid_asciivalue(ctiff_t * ctif, tag_t tag) {
#endif
char *string=NULL;
uint32 count=0;
int r = 0;
unsigned int r = 0;
if (datatype == TIFF_ASCII) {
ret = TIFFGetFieldASCII(ctif, tag, &string, &count);
if (0 < count) { /* there exists a tag */

Loading…
Cancel
Save