switch_dso.c: FreeBSD(8.0) dlerror() returns const char*, add cast to char* to avoid a warning (and abort due to -Werror)
--- freeswitch/trunk/src/switch_dso.c 2010-04-23 21:49:44 UTC (rev 17383)
+++ freeswitch/trunk/src/switch_dso.c 2010-04-24 09:18:49 UTC (rev 17384)
@@ -131,7 +131,7 @@
dlerror();
if (!(addr = dlsym(lib, sym))) {
- err_str = dlerror();
+ err_str = (char *)dlerror();
}
if (err_str) {