- Additional fix-it patch
This commit is contained in:
parent
76b6ca5bf8
commit
37bcd0d237
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214784
1 changed files with 11 additions and 0 deletions
11
graphics/freeimage/files/patch-Source-Metadata_Exif.cpp
Normal file
11
graphics/freeimage/files/patch-Source-Metadata_Exif.cpp
Normal 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 {
|
Loading…
Reference in a new issue