summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'legacy')
-rwxr-xr-xlegacy/preload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/preload.h b/legacy/preload.h
index 1764cf36..2af94684 100755
--- a/legacy/preload.h
+++ b/legacy/preload.h
@@ -59,7 +59,7 @@ static inline void __preload_init(int argc, char **argv)
while (fgets(soname, MAX_LOCAL_BUFSZ, preload_list) > 0) {
soname[strlen(soname) - 1] = 0;
- handle = dlopen(soname, RTLD_NOW);
+ handle = dlopen((const char *) soname, RTLD_NOW);
if (handle == NULL)
continue;
_D("preload %s# - handle : %x\n", soname, handle);