Replace Value::toLong with Value::toInt64. (#2062)
* Replace Value::toLong with Value::toInt64. * Fix compiler warning. * Fix compile error. * Fix declaration of canonEv * Fix compiler warning. * Fix compiler warning. * Use int64_t for offsets in tiffcomposite_int.cpp * Fix compiler warning. * Fix compiler warnings. * Fix compiler warning. * Fix compiler warning. * Fix compiler warning. * Fix compiler warning. * Remove static_cast<long int> in TagDetails initializer.
This commit is contained in:
@@ -78,7 +78,7 @@ int main()
|
||||
std::cout << std::setw(12) << std::left << s;
|
||||
bool ok = false;
|
||||
|
||||
long l = Exiv2::parseLong(s, ok);
|
||||
const auto l = Exiv2::parseInt64(s, ok);
|
||||
std::cout << std::setw(12) << std::left;
|
||||
if (ok)
|
||||
std::cout << l;
|
||||
|
||||
Reference in New Issue
Block a user