summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-13 00:48:22 +0800
committerruki <[email protected]>2017-09-12 22:50:15 +0800
commit6b422d660efa8d807c2260bec919a120b84f3053 (patch)
treeca3b01775c1399eec219bef7ce9ff40e1f74a026 /core/src
parent5c53671acbdd8d20e4e53acc55a885f0b8688f6a (diff)
continue to fix compile errors for select.c
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/semver/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/semver/select.c b/core/src/xmake/semver/select.c
index ed97a7a44..aa145e5bb 100644
--- a/core/src/xmake/semver/select.c
+++ b/core/src/xmake/semver/select.c
@@ -122,7 +122,7 @@ static tb_bool_t xm_semver_select_master_from_versions_tags(lua_State* lua, tb_i
luaL_checktype(lua, fromidx, LUA_TTABLE);
for (i = lua_objlen(lua, fromidx); i > 0; --i)
{
- lua_pushinteger(lua, ()i);
+ lua_pushinteger(lua, i);
lua_gettable(lua, fromidx);
tb_char_t const* source_str = luaL_checkstring(lua, -1);