aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-06-13 22:20:57 +0800
committergahr <gahr@FreeBSD.org>2008-06-13 22:20:57 +0800
commit2253516751515f85f474fd5a3185f7bcac5cecea (patch)
tree98e6a67558d0da1ec3ece9aa7372c2b297c7dd27 /graphics
parent3a0c843e503e6e98dd4a02ed91706a15c6882373 (diff)
downloadfreebsd-ports-gnome-2253516751515f85f474fd5a3185f7bcac5cecea.tar.gz
freebsd-ports-gnome-2253516751515f85f474fd5a3185f7bcac5cecea.tar.zst
freebsd-ports-gnome-2253516751515f85f474fd5a3185f7bcac5cecea.zip
- Additional fix-it patch
Diffstat (limited to 'graphics')
-rw-r--r--graphics/freeimage/files/patch-Source-Metadata_Exif.cpp11
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 {