Fix warnings for Linux, FreeBSD and Solaris.
diff --git a/library/port.c b/library/port.c
index 1d89a73..9d46554 100644
--- a/library/port.c
+++ b/library/port.c
@@ -585,7 +585,7 @@
{
#ifdef HAVE_DLOPEN
void *ret;
- char *s;
+ const char *s;
dlerror(); dlerror();
ret = dlopen( filename, flag );
s = dlerror();
@@ -613,7 +613,7 @@
{
#ifdef HAVE_DLOPEN
void *ret;
- char *s;
+ const char *s;
dlerror(); dlerror();
ret = dlsym( handle, symbol );
s = dlerror();
@@ -641,7 +641,7 @@
{
#ifdef HAVE_DLOPEN
int ret;
- char *s;
+ const char *s;
dlerror(); dlerror();
ret = dlclose( handle );
s = dlerror();