From f5ae75970c48184c2621e61f40cdfc4879825838 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Wed, 7 Sep 2016 19:44:14 -0400 Subject: [PATCH] drop some strange casts to cllean up some warnings --- lib/gvc/gvrender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gvc/gvrender.c b/lib/gvc/gvrender.c index 81da00074..2eed4330e 100644 --- a/lib/gvc/gvrender.c +++ b/lib/gvc/gvrender.c @@ -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, -- 2.40.0