From 280dfa3aa95c748f988b5bc1c8dc3cd5afc5116c Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 13 Dec 2011 19:12:36 +0000 Subject: [PATCH] --- MagickCore/pixel-accessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/pixel-accessor.h b/MagickCore/pixel-accessor.h index 6e2dd59a0..4978cd14f 100644 --- a/MagickCore/pixel-accessor.h +++ b/MagickCore/pixel-accessor.h @@ -91,7 +91,7 @@ static inline PixelChannel GetPixelChannelMapChannel( return(image->channel_map[offset].channel); } -static inline int GetPixelChannelMapOffset(const Image *restrict image, +static inline ssize_t GetPixelChannelMapOffset(const Image *restrict image, const PixelChannel channel) { return(image->channel_map[channel].offset); -- 2.40.0