modified: ImageMagick.spec (cherry picked from commit 8e284e27aeb8bdfefa2b83919b3f0974a1cc777f)
23 lines
772 B
Diff
23 lines
772 B
Diff
From b11d64704f46cedade2ca3cdcebbc8d1f315035e Mon Sep 17 00:00:00 2001
|
|
From: Cristy <urban-warrior@imagemagick.org>
|
|
Date: Tue, 21 Jun 2022 17:14:48 -0400
|
|
Subject: [PATCH] correct copy/paste error
|
|
|
|
---
|
|
coders/tiff.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/coders/tiff.c b/coders/tiff.c
|
|
index 2b64958930..e2c6ca1093 100644
|
|
--- a/coders/tiff.c
|
|
+++ b/coders/tiff.c
|
|
@@ -1905,7 +1905,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
|
|
#if defined(TIFF_VERSION_BIG)
|
|
extent+=samples_per_pixel*sizeof(uint64);
|
|
#else
|
|
- extent+=samples_per_pixel*sizeof(uint64);
|
|
+ extent+=samples_per_pixel*sizeof(uint32);
|
|
#endif
|
|
strip_pixels=(unsigned char *) AcquireQuantumMemory(extent,
|
|
sizeof(*strip_pixels));
|