summaryrefslogtreecommitdiff
path: root/media-libs/freeimage/files/freeimage-3.18.0-tiff-4.4.0.patch
blob: a0c39064aa34ee4df85dc4a883bea76ce37d4ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/848531
https://bugs.gentoo.org/848534
https://www.asmail.be/msg0055228425.html
--- a/Source/Metadata/XTIFF.cpp
+++ b/Source/Metadata/XTIFF.cpp
@@ -750,5 +750,5 @@
 			}
 			// type of storage may differ (e.g. rationnal array vs float array type)
-			if((unsigned)_TIFFDataSize(tif_tag_type) != FreeImage_TagDataWidth(tag_type)) {
+			if((unsigned)TIFFFieldSetGetSize(fld) != FreeImage_TagDataWidth(tag_type)) {
 				// skip tag or _TIFFmemcpy will fail
 				continue;