From: Cristy Date: Sun, 21 Apr 2019 11:36:02 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-42~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce722be4406cee323fc3fa77a9c0b11ae07cab91;p=imagemagick ... --- diff --git a/MagickCore/color.c b/MagickCore/color.c index 00fd8144c..8eec8b449 100644 --- a/MagickCore/color.c +++ b/MagickCore/color.c @@ -80,10 +80,10 @@ /* Typedef declarations. */ -typedef struct _ColorMapInfo +typedef struct _ColormapInfo { const char - *name; + name[21]; const unsigned char red, @@ -95,12 +95,12 @@ typedef struct _ColorMapInfo const ssize_t compliance; -} ColorMapInfo; +} ColormapInfo; /* Static declarations. */ -static const ColorMapInfo +static const ColormapInfo ColorMap[] = { { "none", 0, 0, 0, 0, SVGCompliance | XPMCompliance }, @@ -870,7 +870,7 @@ static LinkedListInfo *AcquireColorCache(const char *filename, ColorInfo *color_info; - register const ColorMapInfo + register const ColormapInfo *p; p=ColorMap+i;