summaryrefslogtreecommitdiff
path: root/coders/xpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'coders/xpm.c')
-rw-r--r--coders/xpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coders/xpm.c b/coders/xpm.c
index f393eadb6..722d65d27 100644
--- a/coders/xpm.c
+++ b/coders/xpm.c
@@ -17,7 +17,7 @@
% July 1992 %
% %
% %
-% Copyright 1999-2020 ImageMagick Studio LLC, a non-profit organization %
+% Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization %
% dedicated to making software imaging solutions freely available. %
% %
% You may not use this file except in compliance with the License. You may %
@@ -1089,7 +1089,7 @@ static MagickBooleanType WriteXPMImage(const ImageInfo *image_info,Image *image,
symbol[j]=Cixel[k];
}
symbol[j]='\0';
- symbolic=(const char *) GetValueFromSplayTree(xpm_symbolic,name);
+ symbolic=GetValueFromSplayTree(xpm_symbolic,name);
if (symbolic == (const char *) NULL)
(void) FormatLocaleString(buffer,MagickPathExtent,
"\"%.1024s c %.1024s\",\n",symbol,name);