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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:36:58 UTC 2017


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

The following commit has been merged in the master branch:
commit eab30a7eb707fded17c2b2bb64d8902da479077a
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Wed Feb 23 16:21:42 2005 +0000

    Added cast required to compile with MSVC
---
 src/ifd.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ifd.cpp b/src/ifd.cpp
index b2a603e..683d2a3 100644
--- a/src/ifd.cpp
+++ b/src/ifd.cpp
@@ -353,7 +353,8 @@ namespace Exiv2 {
             if (i->size_ > 4) {
                 if (offset_ == 0) {
                     // Set the 'guessed' IFD offset
-                    offset_ = i->offset_ - (2 + 12 * preEntries.size() + 4);
+                    offset_ = i->offset_ 
+		      - (2 + 12 * static_cast<long>(preEntries.size()) + 4);
                 }
                 // Set the offset of the first data entry outside of the IFD
                 if (i->offset_ - offset_ >= len) {

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list