diff options
| author | ruki <[email protected]> | 2024-09-13 23:50:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-09-13 23:50:23 +0800 |
| commit | 8cfa4e691396c5c9ded6ed5ab45b8a45a73bd01f (patch) | |
| tree | cf49396e40e01cebfb5a27a8af4604a220accd3c /core/src | |
| parent | 57dc871d949f533c623eedce9c02b85898cfbcd1 (diff) | |
fix build error
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
