summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2025-09-28 11:43:41 +0800
committerruki <[email protected]>2025-09-28 11:43:41 +0800
commit17a0a62258b65c266599e6fb53f77bbdf61e86ee (patch)
tree00e1a919c66485d55026333170f0af0a3f3cf4dd /core/src
parenta9b2c9fad0db8a74f1573eaf1c56912269525736 (diff)
fix error
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/os/getenvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/os/getenvs.c b/core/src/xmake/os/getenvs.c
index 6418be4d2..23fdf677e 100644
--- a/core/src/xmake/os/getenvs.c
+++ b/core/src/xmake/os/getenvs.c
@@ -82,7 +82,7 @@ static tb_void_t xm_os_getenvs_process_line(lua_State* lua, tb_char_t const* lin
// check
tb_assert_and_check_return(lua && line);
- tb_int_t n = tb_strlen(line);
+ tb_size_t n = tb_strlen(line);
tb_check_return(n > 0);
// find '=' separator