[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:44:54 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=905c856

The following commit has been merged in the master branch:
commit 905c8563c4fc53a36a5c359a44ce4b7782b8e483
Author: Robin Mills <robin at clanmills.com>
Date:   Sat Mar 7 20:01:24 2015 +0000

    #1037 Thanks to Axel for reporting and providing the patch.
---
 src/canonmn.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/canonmn.cpp b/src/canonmn.cpp
index d5a6832..9302ebb 100644
--- a/src/canonmn.cpp
+++ b/src/canonmn.cpp
@@ -1698,7 +1698,7 @@ namespace Exiv2 {
             // see also printSi0x0017
             std::ostringstream oss;
             oss.copyfmt(os);
-            int res = static_cast<int>(100.0 * (value.toLong() / 32.0 + 5.0) + 0.5);
+            int res = static_cast<int>(100.0 * (static_cast<short>(value.toLong()) / 32.0 + 5.0) + 0.5);
             os << std::fixed << std::setprecision(2) << res / 100.0;
             os.copyfmt(oss);
         }

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list