diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-02 12:41:24 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-02 15:02:42 +0000 |
commit | 9cbf19b59b3db50f2f91fdf5aa206889d97ed057 (patch) | |
tree | 359eb8332e395fcc1ff4e2b2ba90556e1cd710c9 /src/pulsecore/ltdl-helper.c | |
parent | 53695b83dcd15df981b131b2cdd927d9f984a966 (diff) |
Various fixes for build warnings
Diffstat (limited to 'src/pulsecore/ltdl-helper.c')
-rw-r--r-- | src/pulsecore/ltdl-helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |