diff --git a/src/canonmn.hpp b/src/canonmn.hpp index 7f29833e..43859caf 100644 --- a/src/canonmn.hpp +++ b/src/canonmn.hpp @@ -139,8 +139,6 @@ namespace Exiv2 { static std::ostream& print0x000c(std::ostream& os, const Value& value); //! Self timer static std::ostream& printCs10x0002(std::ostream& os, const Value& value); - //! Flash details - static std::ostream& printCs10x001d(std::ostream& os, const Value& value); //! Camera lens information static std::ostream& printCs1Lens(std::ostream& os, const Value& value); //! ISO speed used diff --git a/src/tags.hpp b/src/tags.hpp index 68777743..48463769 100644 --- a/src/tags.hpp +++ b/src/tags.hpp @@ -160,7 +160,7 @@ namespace Exiv2 { template std::ostream& printTagBitmask(std::ostream& os, const Value& value) { - const uint32_t val = value.toLong(); + const uint32_t val = static_cast(value.toLong()); bool sep = false; for (int i = 0; i < N; i++) { const TagDetailsBitmask* td = &array[i];