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:
Kevin Backhouse
2022-02-12 21:16:18 +00:00
committed by GitHub
parent a8a995f546
commit 2a3dd2def9
32 changed files with 858 additions and 689 deletions
+1 -1
View File
@@ -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;