diff options
| author | ruki <[email protected]> | 2025-12-09 22:34:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-09 22:34:36 +0800 |
| commit | 5931e48282914758fd7c4eeaf9ca05a16521692b (patch) | |
| tree | f06ffda22f2675a3e08979503b4bff1de0e08e0f /core/src | |
| parent | 102507b96dab0403592c07c8760644f08ed66dff (diff) | |
fix compile error
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/binutils/elf/prefix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/binutils/elf/prefix.h b/core/src/xmake/binutils/elf/prefix.h index d79fe3e11..bd3cc9129 100644 --- a/core/src/xmake/binutils/elf/prefix.h +++ b/core/src/xmake/binutils/elf/prefix.h @@ -278,7 +278,7 @@ static __tb_inline__ tb_bool_t xm_binutils_elf_is_64bit(tb_char_t const *arch) { * @param offset the string offset * @return the string (static buffer, valid until next call) */ -static __tb_inline__ tb_bool_t xm_binutils_elf_read_string(tb_stream_ref_t istream, tb_uint32_t strtab_offset, tb_uint32_t offset, tb_char_t *name, tb_size_t name_size) { +static __tb_inline__ tb_bool_t xm_binutils_elf_read_string(tb_stream_ref_t istream, tb_uint64_t strtab_offset, tb_uint32_t offset, tb_char_t *name, tb_size_t name_size) { tb_assert_and_check_return_val(istream && name && name_size > 0, tb_false); tb_hize_t saved_pos = tb_stream_offset(istream); |
