]> granicus.if.org Git - graphviz/commitdiff
drop some strange casts to cllean up some warnings untagged-88f8affbb29485590ece
authorJohn Ellson <ellson@research.att.com>
Wed, 7 Sep 2016 23:44:14 +0000 (19:44 -0400)
committerJohn Ellson <ellson@research.att.com>
Wed, 7 Sep 2016 23:44:14 +0000 (19:44 -0400)
lib/gvc/gvrender.c

index 81da00074be2d9a8f398a292c6ff0fb78a09af22..2eed4330e86471ddf851c2660d203ba7f2892dad 100644 (file)
@@ -187,7 +187,7 @@ pointf *gvrender_ptf_A(GVJ_t * job, pointf * af, pointf * AF, int n)
 
 static int gvrender_comparestr(const void *s1, const void *s2)
 {
-    return strcmp(*(char **) s1, *(char **) s2);
+    return strcmp(s1, s2);
 }
 
 static void gvrender_resolve_color(gvrender_features_t * features,