summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorJaeho Lee <jaeho81.lee@samsung.com>2013-01-07 11:38:57 +0900
committerJaeho Lee <jaeho81.lee@samsung.com>2013-01-07 11:38:57 +0900
commitb0780e8c43fbd23b9c32f9e0f56d131792b99414 (patch)
tree11a74ad444412186cbd72c6c7a0998d656b40568 /legacy
parent50a66401cccbea7cae77663611ec86f9b5409e3e (diff)
downloadaul-1-b0780e8c43fbd23b9c32f9e0f56d131792b99414.tar.gz
aul-1-b0780e8c43fbd23b9c32f9e0f56d131792b99414.tar.bz2
aul-1-b0780e8c43fbd23b9c32f9e0f56d131792b99414.zip
fixed prevent issues
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
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);