Revision
17384
Author
s.knoblich
Date
2010-04-24 04:18:49 -0500 (Sat, 24 Apr 2010)

Log Message

switch_dso.c: FreeBSD(8.0) dlerror() returns const char*, add cast to char* to avoid a warning (and abort due to -Werror)

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_dso.c (17383 => 17384)


--- 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) {