summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-12 00:50:10 +0800
committerruki <[email protected]>2025-12-12 09:00:46 +0800
commit037f6bdc063a7c0df35bbdb2fa2f0394fb01f228 (patch)
treeb2f02480ebaafd6afb350c4999d7ebb8f0b6b9d9 /core/src
parent21f760f085fb09467770d28efdade3ab47ef38e6 (diff)
fix error
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/binutils/macho/prefix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/binutils/macho/prefix.h b/core/src/xmake/binutils/macho/prefix.h
index 3ef32763d..2d224ff77 100644
--- a/core/src/xmake/binutils/macho/prefix.h
+++ b/core/src/xmake/binutils/macho/prefix.h
@@ -368,7 +368,7 @@ static __tb_inline__ tb_bool_t xm_binutils_macho_detect_format(tb_uint8_t const
* @param name_size the size of the buffer
* @return tb_true on success, tb_false on failure
*/
-static __tb_inline__ tb_bool_t xm_binutils_macho_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_macho_read_string(tb_stream_ref_t istream, tb_hize_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);
// nlist.strx is offset from string table start (including 4-byte size field)