From: cristy Date: Tue, 13 Dec 2011 19:12:36 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6547 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=280dfa3aa95c748f988b5bc1c8dc3cd5afc5116c;p=imagemagick --- 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);