diff --git a/src/switch_dso.c b/src/switch_dso.c index 152c280d5d..fd21653063 100644 --- a/src/switch_dso.c +++ b/src/switch_dso.c @@ -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) {