Replace Metadatum::toLong() with Metadatum::toInt64().

This commit is contained in:
Kevin Backhouse
2022-02-18 12:30:33 +00:00
parent 15c91b4cc9
commit 256365830a
24 changed files with 76 additions and 76 deletions
+2 -2
View File
@@ -161,7 +161,7 @@ namespace Exiv2
{
auto imageWidth = exifData_.findKey(Exiv2::ExifKey("Exif.Photo.PixelXDimension"));
if (imageWidth != exifData_.end() && imageWidth->count() > 0) {
return imageWidth->toLong();
return imageWidth->toInt64();
}
return pixelWidth_;
}
@@ -170,7 +170,7 @@ namespace Exiv2
{
auto imageHeight = exifData_.findKey(Exiv2::ExifKey("Exif.Photo.PixelYDimension"));
if (imageHeight != exifData_.end() && imageHeight->count() > 0) {
return imageHeight->toLong();
return imageHeight->toInt64();
}
return pixelHeight_;
}