blob: c383922e90dad30980fc9e7b60f4403474a61090 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
|