summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b8d740)
raw | patch | inline | side by side (parent: 2b8d740)
author | octo <octo> | |
Fri, 21 Apr 2006 14:50:35 +0000 (14:50 +0000) | ||
committer | octo <octo> | |
Fri, 21 Apr 2006 14:50:35 +0000 (14:50 +0000) |
"plugin.c", line 132: warning: assignment type mismatch:
pointer to function(void) returning void "=" pointer to void
pointer to function(void) returning void "=" pointer to void
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index 570b6a224701d7ac829a7f44317a2daaa4d6c14f..2f52157082a0d0929428307999bae4551498fb04 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
return (1);
}
- if ((reg_handle = lt_dlsym (dlh, "module_register")) == NULL)
+ if ((reg_handle = (void (*) (void)) lt_dlsym (dlh, "module_register")) == NULL)
{
syslog (LOG_WARNING, "Couldn't find symbol ``module_register'' in ``%s'': %s\n",
file, lt_dlerror ());