summaryrefslogtreecommitdiff
path: root/core/src/xmake/binutils/mslib
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-14 22:41:35 +0800
committerruki <[email protected]>2025-12-14 22:41:35 +0800
commitcdfc65c451343242c4d007483da1ad4a6ba7fe84 (patch)
tree192ce1f90e6eba1e08d84decc69dcbf1fd1e7b80 /core/src/xmake/binutils/mslib
parentd131da854a1f2b62fd26237b95f55441b1ea3b75 (diff)
fix compile error
Diffstat (limited to 'core/src/xmake/binutils/mslib')
-rw-r--r--core/src/xmake/binutils/mslib/readsyms.c2
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"}