diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dynamic-link.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h index c34cbcd43b..dff06556a7 100644 --- a/elf/dynamic-link.h +++ b/elf/dynamic-link.h @@ -113,7 +113,7 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp) while (dyn->d_tag != DT_NULL) { - if (dyn->d_tag < DT_NUM) + if ((Elf32_Word) dyn->d_tag < DT_NUM) info[dyn->d_tag] = dyn; else if (dyn->d_tag >= DT_LOPROC && dyn->d_tag < DT_LOPROC + DT_THISPROCNUM) |