summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/replace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 5344d816d58..a8910e2b5e4 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -998,7 +998,7 @@ static inline bool __rep_cwrap_enabled_fn(struct __rep_cwrap_enabled_state *stat
state->retval = false;
state->cached = true;
- __wrapper_enabled_fn = dlsym(RTLD_DEFAULT, state->fnname);
+ __wrapper_enabled_fn = (bool (*)(void))dlsym(RTLD_DEFAULT, state->fnname);
if (__wrapper_enabled_fn == NULL) {
return state->retval;
}