Minor fixes

This commit is contained in:
Andreas Huggel 2006-08-09 16:29:01 +00:00
parent 5c79d7c3fb
commit 8326caedf6
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -160,7 +160,7 @@ namespace Exiv2 {
template <int N, const TagDetailsBitmask (&array)[N]>
std::ostream& printTagBitmask(std::ostream& os, const Value& value)
{
const uint32_t val = value.toLong();
const uint32_t val = static_cast<uint32_t>(value.toLong());
bool sep = false;
for (int i = 0; i < N; i++) {
const TagDetailsBitmask* td = &array[i];