]> granicus.if.org Git - imagemagick/commitdiff
Eliminate compiler warning
authorCristy <urban-warrior@imagemagick.org>
Wed, 10 Feb 2016 20:30:15 +0000 (15:30 -0500)
committerCristy <urban-warrior@imagemagick.org>
Wed, 10 Feb 2016 20:30:15 +0000 (15:30 -0500)
MagickCore/utility.c

index d0d59408bad7a93b8c4141b5bcabc5895492e33b..e7389f6c83cf44d73de7bbe6331fcb1ab953bfc6 100644 (file)
@@ -1458,7 +1458,7 @@ MagickExport MagickBooleanType IsPathAccessible(const char *path)
 
   if ((path == (const char *) NULL) || (*path == '\0'))
     return(MagickFalse);
-  if (strcmp(path,"-") == 0)
+  if (LocaleCompare(path,"-") == 0)
     return(MagickTrue);
   status=GetPathAttributes(path,&attributes);
   if (status == MagickFalse)