From f2206b2abe848f65956fa48da338c2bfac599e4a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 27 Jul 2024 15:13:21 -0300 Subject: '-Wconversion' extended to all options of Lua numbers --- testes/strings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testes') diff --git a/testes/strings.lua b/testes/strings.lua index a0204309..9bb52b35 100644 --- a/testes/strings.lua +++ b/testes/strings.lua @@ -111,7 +111,7 @@ assert(string.rep('', 10) == '') do checkerror("too large", string.rep, 'aa', math.maxinteger); - checkerror("too large", string.rep, 'a', math.maxinteger/2, ',') + checkerror("too large", string.rep, 'a', math.maxinteger, ',') end -- repetitions with separator -- cgit v1.2.3-55-g6feb