From: ellson Date: Tue, 18 Oct 2005 18:43:56 +0000 (+0000) Subject: add (char*) cast to discard const and suppress warning X-Git-Tag: LAST_LIBGRAPH~32^2~7280 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb3bb497dae9f79c8e7263526c94140b79ed47e2;p=graphviz add (char*) cast to discard const and suppress warning --- diff --git a/lib/gvc/gvplugin.c b/lib/gvc/gvplugin.c index 9ef7ae98e..2e4aeaae0 100644 --- a/lib/gvc/gvplugin.c +++ b/lib/gvc/gvplugin.c @@ -136,7 +136,7 @@ gvplugin_library_t *gvplugin_library_load(char *path) } hndl = lt_dlopen (p); if (!hndl) { - agerr(AGWARN, lt_dlerror()); + agerr(AGWARN, (char*)lt_dlerror()); return NULL; }