diff options
| author | ruki <[email protected]> | 2025-12-14 22:41:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-14 22:41:35 +0800 |
| commit | cdfc65c451343242c4d007483da1ad4a6ba7fe84 (patch) | |
| tree | 192ce1f90e6eba1e08d84decc69dcbf1fd1e7b80 /core/src/xmake/binutils/mslib | |
| parent | d131da854a1f2b62fd26237b95f55441b1ea3b75 (diff) | |
fix compile error
Diffstat (limited to 'core/src/xmake/binutils/mslib')
| -rw-r--r-- | core/src/xmake/binutils/mslib/readsyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/binutils/mslib/readsyms.c b/core/src/xmake/binutils/mslib/readsyms.c index de9dc9d62..55857bb58 100644 --- a/core/src/xmake/binutils/mslib/readsyms.c +++ b/core/src/xmake/binutils/mslib/readsyms.c @@ -331,7 +331,7 @@ tb_bool_t xm_binutils_mslib_read_symbols(tb_stream_ref_t istream, tb_hize_t base if (!has_symbols) { // check map - lua_pushinteger(lua, header_offset); + lua_pushinteger(lua, (lua_Integer)header_offset); lua_rawget(lua, map_idx); if (lua_istable(lua, -1)) { // convert list of names to list of {name=..., type="global"} |
