diff --git a/src/tags_int.hpp b/src/tags_int.hpp index 484a8be85d..7dd13d73ab 100644 --- a/src/tags_int.hpp +++ b/src/tags_int.hpp @@ -284,7 +284,7 @@ namespace Exiv2 { template std::ostream& printTagBitmask(std::ostream& os, const Value& value, const ExifData*) { - const uint32_t val = static_cast(value.toLong()); + const auto val = static_cast(value.toLong()); if (val == 0 && N > 0) { const TagDetailsBitmask* td = *(&array); if (td->mask_ == 0) return os << exvGettext(td->label_);