diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-08-27 01:29:49 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-08-27 01:29:49 +0000 |
commit | 92bf0a365a3a8390bb3f023458a9e62c31849628 (patch) | |
tree | 23adcb50a438e13a0f3d46d492a2992b13b8f962 /polyp/module.c | |
parent | b6b428e5cbfc2440f5950c0744e15bc4d84e6b31 (diff) |
latency work
major main loop bugfix
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@154 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/module.c')
-rw-r--r-- | polyp/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/module.c b/polyp/module.c index 1deb7cde..eb8a8acd 100644 --- a/polyp/module.c +++ b/polyp/module.c @@ -62,10 +62,10 @@ struct pa_module* pa_module_load(struct pa_core *c, const char *name, const char if (!(m->dl = lt_dlopenext(name))) goto fail; - if (!(m->init = lt_dlsym(m->dl, "pa_module_init"))) + if (!(m->init = (int (*)(struct pa_core *c, struct pa_module*m)) lt_dlsym(m->dl, "pa_module_init"))) goto fail; - if (!(m->done = lt_dlsym(m->dl, "pa_module_done"))) + if (!(m->done = (void (*)(struct pa_core *c, struct pa_module*m)) lt_dlsym(m->dl, "pa_module_done"))) goto fail; m->userdata = NULL; |