From 9cbf19b59b3db50f2f91fdf5aa206889d97ed057 Mon Sep 17 00:00:00 2001 From: Maarten Bosmans Date: Wed, 2 Mar 2011 12:41:24 +0100 Subject: Various fixes for build warnings --- src/pulsecore/ltdl-helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pulsecore/ltdl-helper.c') diff --git a/src/pulsecore/ltdl-helper.c b/src/pulsecore/ltdl-helper.c index be200ca2..1a0e5558 100644 --- a/src/pulsecore/ltdl-helper.c +++ b/src/pulsecore/ltdl-helper.c @@ -42,7 +42,7 @@ pa_void_func_t pa_load_sym(lt_dlhandle handle, const char *module, const char *s pa_assert(handle); pa_assert(symbol); - *(void**) &f = lt_dlsym(handle, symbol); + f = (pa_void_func_t) lt_dlsym(handle, symbol); if (f) return f; @@ -59,7 +59,7 @@ pa_void_func_t pa_load_sym(lt_dlhandle handle, const char *module, const char *s if (!isalnum(*c)) *c = '_'; - *(void**) &f = lt_dlsym(handle, sn); + f = (pa_void_func_t) lt_dlsym(handle, sn); pa_xfree(sn); return f; -- cgit