mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-19 01:34:13 +00:00
switch_dso.c: FreeBSD(8.0) dlerror() returns const char*, add cast to char* to avoid a warning (and abort due to -Werror)
This commit is contained in:
1 parent
72ec7b59ab
commit
32cedb2df9
1 file changed
+1
-1
+1
-1
@@ -131,7 +131,7 @@ void *switch_dso_data_sym(switch_dso_lib_t lib, const char *sym, char **err)
|
||||
dlerror();
|
||||
|
||||
if (!(addr = dlsym(lib, sym))) {
|
||||
err_str = dlerror();
|
||||
err_str = (char *)dlerror();
|
||||
}
|
||||
|
||||
if (err_str) {
|
||||
|
||||
Reference in new issue
Block a user