Skip to content

Commit

Permalink
Fixed compiler warning on AIX
Browse files Browse the repository at this point in the history
  • Loading branch information
montywi committed Oct 18, 2022
1 parent db330c8 commit c92c161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysys/my_addr_resolve.c
Expand Up @@ -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 &&
Expand Down

0 comments on commit c92c161

Please sign in to comment.