Browse Source

- fixed warning aboz comparing float and unsigned int

development
Andreas Romeyke 10 months ago
parent
commit
3fbed4f8e9
  1. 2
      src/tagrules/check_tag_has_value_in_range.c

2
src/tagrules/check_tag_has_value_in_range.c

@ -98,7 +98,7 @@ ret_t check_tag_has_value_in_range(ctiff_t * ctif, tag_t tag, unsigned int a, un
if (ret.returncode != is_valid) return ret;
if (1 == found) {
float val = *valp;
if ((val >= a && val <= b )) {
if ((val >= (float) a && val <= (float) b )) {
ret.returncode=is_valid;
free( valp);
return ret;

Loading…
Cancel
Save