From 8cfa4e691396c5c9ded6ed5ab45b8a45a73bd01f Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 13 Sep 2024 23:50:23 +0800 Subject: fix build error --- core/src/xmake/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/xmake/engine.c b/core/src/xmake/engine.c index ae41a4d6e..5fab7e7c1 100644 --- a/core/src/xmake/engine.c +++ b/core/src/xmake/engine.c @@ -1232,7 +1232,7 @@ static tb_bool_t xm_engine_extract_programfiles(xm_engine_t* engine, tb_char_t c tb_byte_t const* e = data + size; tb_size_t n = 0; tb_char_t filepath[TB_PATH_MAXN]; - tb_int_t pos = tb_snprintf(filepath, sizeof(filepath), "%s/", programdir); + tb_long_t pos = tb_snprintf(filepath, sizeof(filepath), "%s/", programdir); while (p < e) { // get filepath -- cgit v1.3.1