aboutsummaryrefslogtreecommitdiff
path: root/graphics/hugin/files/patch-src_hugin__base_panodata_Exiv2Helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hugin/files/patch-src_hugin__base_panodata_Exiv2Helper.cpp')
-rw-r--r--graphics/hugin/files/patch-src_hugin__base_panodata_Exiv2Helper.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/hugin/files/patch-src_hugin__base_panodata_Exiv2Helper.cpp b/graphics/hugin/files/patch-src_hugin__base_panodata_Exiv2Helper.cpp
new file mode 100644
index 000000000000..c383922e90da
--- /dev/null
+++ b/graphics/hugin/files/patch-src_hugin__base_panodata_Exiv2Helper.cpp
@@ -0,0 +1,27 @@
+--- src/hugin_base/panodata/Exiv2Helper.cpp.orig 2019-05-15 15:30:47 UTC
++++ src/hugin_base/panodata/Exiv2Helper.cpp
+@@ -40,7 +40,7 @@ namespace HuginBase
+ Exiv2::ExifData::iterator itr = exifData.findKey(Exiv2::ExifKey(keyName));
+ if (itr != exifData.end() && itr->count())
+ {
+- value = itr->toLong();
++ value = itr->toInt64();
+ return true;
+ }
+ else
+@@ -165,7 +165,7 @@ namespace HuginBase
+ {
+ if(it!=exifData.end() && it->count())
+ {
+- return it->toLong();
++ return it->toInt64();
+ }
+ return 0;
+ };
+@@ -600,4 +600,4 @@ namespace HuginBase
+ };
+
+ }; //namespace Exiv2Helper
+-}; //namespace HuginBase
+\ No newline at end of file
++}; //namespace HuginBase