- Additional fix-it patch

This commit is contained in:
Pietro Cerutti 2008-06-13 14:20:57 +00:00
parent 76b6ca5bf8
commit 37bcd0d237
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214784

View file

@ -0,0 +1,11 @@
--- Source/Metadata/Exif.cpp.orig 2008-06-13 16:09:38.000000000 +0200
+++ Source/Metadata/Exif.cpp 2008-06-13 16:10:15.000000000 +0200
@@ -495,7 +495,7 @@
}
// remember that we've visited this directory so that we don't visit it again later
- DWORD visited = (((DWORD)ifdp & 0xFFFF) << 16) | (DWORD)de;
+ DWORD visited = (((size_t)ifdp & (size_t)0xFFFF) << 16) | (DWORD)de;
if(visitedIFD.find(visited) != visitedIFD.end()) {
continue;
} else {