25 lines
758 B
Diff
25 lines
758 B
Diff
From 2000dd1a7da8098483b8937b53ff3b6ff3048c97 Mon Sep 17 00:00:00 2001
|
|
From: Cristy <urban-warrior@imagemagick.org>
|
|
Date: Sun, 13 Oct 2019 12:16:40 -0400
|
|
Subject: [PATCH] ...
|
|
|
|
---
|
|
magick/quantize.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/magick/quantize.c b/magick/quantize.c
|
|
index 9c081d3f9..355d69de7 100644
|
|
--- a/magick/quantize.c
|
|
+++ b/magick/quantize.c
|
|
@@ -3218,8 +3218,8 @@ static int IntensityCompare(const void *x,const void *y)
|
|
|
|
color_1=(PixelPacket *) x;
|
|
color_2=(PixelPacket *) y;
|
|
- intensity=(ssize_t) (PixelPacketIntensity(color_1)-
|
|
- PixelPacketIntensity(color_2));
|
|
+ intensity=(ssize_t) PixelPacketIntensity(color_1)-
|
|
+ (ssize_t) PixelPacketIntensity(color_2));
|
|
return((int) intensity);
|
|
}
|
|
|