diff options
Diffstat (limited to 'pseudo_wrappers.c')
-rw-r--r-- | pseudo_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudo_wrappers.c b/pseudo_wrappers.c index 99aabff..9ae1200 100644 --- a/pseudo_wrappers.c +++ b/pseudo_wrappers.c @@ -140,7 +140,7 @@ pseudo_init_one_wrapper(pseudo_function *func) { #endif f = dlsym(RTLD_NEXT, func->name); if (f) { - *func->real = f; + *func->real = (void (*)(void)) f; } /* it turns out that in some cases, we get apparently-harmless * errors if a function is missing, and that printing output |