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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:39:51 UTC 2017


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

The following commit has been merged in the master branch:
commit ab1804319fb9339c4f72e09bea361f0acc0533a5
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Tue Sep 23 12:05:33 2008 +0000

    Fixed warnings.
---
 src/preview.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/preview.cpp b/src/preview.cpp
index 6278d5b..95b3220 100644
--- a/src/preview.cpp
+++ b/src/preview.cpp
@@ -478,7 +478,7 @@ namespace Exiv2 {
             // this saves one copying of the buffer
             uint32_t offset = dataValue.toLong(0);
             uint32_t length = sizes.toLong(0);
-            if (offset + length <= io.size())
+            if (offset + length <= static_cast<uint32_t>(io.size()))
                 dataValue.setDataArea(base + offset, length);
         }
         else {
@@ -488,7 +488,7 @@ namespace Exiv2 {
             for (int i = 0; i < sizes.count(); i++) {
                 uint32_t offset = dataValue.toLong(i);
                 uint32_t length = sizes.toLong(i);
-                if (offset + length <= io.size())
+                if (offset + length <= static_cast<uint32_t>(io.size()))
                     memcpy(pos, base + offset, length);
                 pos += length;
             }

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list