diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-06-13 14:20:57 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-06-13 14:20:57 +0000 |
commit | 37bcd0d237d22eb060608ec07183ffb7ff7a4eb5 (patch) | |
tree | 2c919c1f723c00c9f454801f6f739b2fd7fade7f /graphics | |
parent | 76b6ca5bf88a6376fc999442920928afd888b7c5 (diff) | |
download | ports-37bcd0d237d22eb060608ec07183ffb7ff7a4eb5.tar.gz ports-37bcd0d237d22eb060608ec07183ffb7ff7a4eb5.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/freeimage/files/patch-Source-Metadata_Exif.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/freeimage/files/patch-Source-Metadata_Exif.cpp b/graphics/freeimage/files/patch-Source-Metadata_Exif.cpp new file mode 100644 index 000000000000..2bc8c56c6688 --- /dev/null +++ b/graphics/freeimage/files/patch-Source-Metadata_Exif.cpp @@ -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 { |