summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/base/winos.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/base/winos.lua b/xmake/core/base/winos.lua
index b14368b16..72a53731e 100644
--- a/xmake/core/base/winos.lua
+++ b/xmake/core/base/winos.lua
@@ -157,6 +157,7 @@ function winos.cmdargv(argv, opt)
local limit = 4096
local argn = 0
for _, arg in ipairs(argv) do
+ arg = tostring(arg)
argn = argn + #arg
if argn > limit then
break