]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Thu, 31 May 2018 14:45:33 +0000 (10:45 -0400)
committerCristy <urban-warrior@imagemagick.org>
Thu, 31 May 2018 14:45:33 +0000 (10:45 -0400)
MagickCore/draw.c

index a54816cb66e45f68572b148be00dbcfbe962ab10..3e3267a12c9eec6ecec2cf81d2009dcb98b741fa 100644 (file)
@@ -415,7 +415,7 @@ MagickExport DrawInfo *CloneDrawInfo(const ImageInfo *image_info,
 extern "C" {
 #endif
 
-static int CompareEdges(const void *p_edge,const void *q_edge)
+static int DrawCompareEdges(const void *p_edge,const void *q_edge)
 {
 #define DrawCompareEdge(p,q) \
 { \
@@ -697,7 +697,7 @@ static PolygonInfo *ConvertPathToPolygon(const PathInfo *path_info)
     }
   polygon_info->number_edges=edge;
   qsort(polygon_info->edges,(size_t) polygon_info->number_edges,
-    sizeof(*polygon_info->edges),CompareEdges);
+    sizeof(*polygon_info->edges),DrawCompareEdges);
   if (IsEventLogging() != MagickFalse)
     LogPolygonInfo(polygon_info);
   return(polygon_info);