]> granicus.if.org Git - graphviz/commitdiff
add (char*) cast to discard const and suppress warning
authorellson <devnull@localhost>
Tue, 18 Oct 2005 18:43:56 +0000 (18:43 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 18:43:56 +0000 (18:43 +0000)
lib/gvc/gvplugin.c

index 9ef7ae98e25cb50d90a751758700a3a438da2f2d..2e4aeaae05c973427709308921b61737f796aedb 100644 (file)
@@ -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;
     }