]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/configure.c
Fix CLUT interpolation method
[imagemagick] / MagickCore / configure.c
index fb687fbfa6386f328233b63bf5ca6285f18c0820..da3a1ea8aa0cbece0ba499f1baa0039d135facb7 100644 (file)
@@ -584,7 +584,7 @@ MagickExport LinkedListInfo *GetConfigureOptions(const char *filename,
         {
           xml=AcquireStringInfo(0);
           SetStringInfoLength(xml,strlen(blob)+1);
-          SetStringInfoDatum(xml,blob);
+          SetStringInfoDatum(xml,(unsigned char *) blob);
           SetStringInfoPath(xml,filename);
           (void) AppendValueToLinkedList(options,xml);
         }
@@ -1156,7 +1156,7 @@ static MagickBooleanType LoadConfigureList(const char *xml,const char *filename,
       {
         if (LocaleCompare((char *) keyword,"stealth") == 0)
           {
-            configure_info->stealth=IsMagickTrue(token);
+            configure_info->stealth=IsStringTrue(token);
             break;
           }
         break;