mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8228482: fix xlc16/xlclang comparison of distinct pointer types and string literal conversion warnings
Reviewed-by: clanger, mdoerr
This commit is contained in:
parent
f8a875bfce
commit
b9e177677c
6 changed files with 21 additions and 17 deletions
|
@ -39,8 +39,7 @@ static int dladdr_dont_reload(void *addr, Dl_info *info) {
|
|||
memset((void *)info, 0, sizeof(Dl_info));
|
||||
for (;;) {
|
||||
if (addr >= p->ldinfo_textorg &&
|
||||
addr < (((char*)p->ldinfo_textorg) + p->ldinfo_textsize))
|
||||
{
|
||||
addr < p->ldinfo_textorg + p->ldinfo_textsize) {
|
||||
info->dli_fname = p->ldinfo_filename;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue