diff options
author | David Carlier <[email protected]> | 2021-03-21 16:46:46 +0000 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-03-22 22:51:15 +0900 |
commit | 5e16c3a12a7f7869109fd8b72d7f54db347e5fe5 (patch) | |
tree | fd86a2cf69bfa6750bda08bc311192410120c39c /addr2line.c | |
parent | 7e8a9af9db42a21f6a1125a29e98c45ff9d5833b (diff) |
solaris/illumos build fix.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4301
Diffstat (limited to 'addr2line.c')
-rw-r--r-- | addr2line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addr2line.c b/addr2line.c index a8fb4f265d..cf0a379fa6 100644 --- a/addr2line.c +++ b/addr2line.c @@ -1463,7 +1463,7 @@ ranges_include(DebugInfoReader *reader, ranges_t *ptr, uint64_t addr) } break; case DW_RLE_base_address: - base_address = read_dw_form_addr(reader, &p); + base_address = (uintptr_t)read_dw_form_addr(reader, &p); break; case DW_RLE_start_end: read_dw_form_addr(reader, &p); |