From fb3bb497dae9f79c8e7263526c94140b79ed47e2 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 18:43:56 +0000 Subject: [PATCH] add (char*) cast to discard const and suppress warning --- lib/gvc/gvplugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1