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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:37:52 UTC 2017


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

The following commit has been merged in the master branch:
commit fe53eff1601b2bb44491e2cdab0fefd3e24a3b8f
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Tue Sep 5 17:02:55 2006 +0000

    Found workaround for MSVC 7.1 bug
---
 src/tags.hpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/tags.hpp b/src/tags.hpp
index 4846376..5baabb2 100644
--- a/src/tags.hpp
+++ b/src/tags.hpp
@@ -163,7 +163,8 @@ namespace Exiv2 {
         const uint32_t val = static_cast<uint32_t>(value.toLong());
         bool sep = false;
         for (int i = 0; i < N; i++) {
-            const TagDetailsBitmask* td = &array[i];
+            // *& acrobatics is a workaround for a MSVC 7.1 bug
+            const TagDetailsBitmask* td = *(&array) + i;
 
             if (val & td->mask_) {
                 if (sep) {

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list