summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2022-10-19 01:02:29 +0300
committerMonty <monty@mariadb.org>2022-10-19 01:02:29 +0300
commitc92c1615852ecd4be2d04203600efd3eba578a02 (patch)
treeaee7f59bcc3678d3691ef714d0fb726d59b6b01b /mysys
parentdb330c87d6d253a1e2e93a747327040d9205c5fe (diff)
downloadmariadb-git-c92c1615852ecd4be2d04203600efd3eba578a02.tar.gz
Fixed compiler warning on AIX
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_addr_resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_addr_resolve.c b/mysys/my_addr_resolve.c
index 86670cf1db2..444a47bb7c5 100644
--- a/mysys/my_addr_resolve.c
+++ b/mysys/my_addr_resolve.c
@@ -324,7 +324,7 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc)
for the base program. This is depending on if the compilation is
done with PIE or not.
*/
- addr_offset= info.dli_fbase;
+ addr_offset= (void*) info.dli_fbase;
#ifndef __PIE__
if (strcmp(info.dli_fname, my_progname) == 0 &&
addr_resolve((void*) my_addr_resolve, loc) == 0 &&