diff options
| author | ruki <[email protected]> | 2025-12-09 00:44:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-09 00:44:40 +0800 |
| commit | d1849e1b1a9d5accc1a3555272e27c96b863bbd8 (patch) | |
| tree | 0f78fd6bdb44a29fbdc28bc076d21f48f45cfc2c | |
| parent | 5381ba967a7484f49c3dd3fb75e6443bacb74f46 (diff) | |
format code
| -rw-r--r-- | core/src/xmake/binutils/macho/prefix.h | 2 |
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 0b0ea00c3..2179ac344 100644 --- a/core/src/xmake/binutils/macho/prefix.h +++ b/core/src/xmake/binutils/macho/prefix.h @@ -334,8 +334,8 @@ static __tb_inline__ tb_uint32_t xm_binutils_macho_parse_version(tb_char_t const 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) { tb_assert_and_check_return_val(istream && name && name_size > 0, tb_false); - tb_hize_t saved_pos = tb_stream_offset(istream); // nlist.strx is offset from string table start (including 4-byte size field) + tb_hize_t saved_pos = tb_stream_offset(istream); if (!tb_stream_seek(istream, strtab_offset + offset)) { return tb_false; } |
