aboutsummaryrefslogtreecommitdiffstats
path: root/fallbacks/bit.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-07-14 13:41:02 +0200
committerKim Alvefur <zash@zash.se>2016-07-14 13:41:02 +0200
commitccadcc9b4710fcf04c51d01cb40611efd5f7b835 (patch)
tree7f1c0c36f5c9dadc79cbec11d668ba0bdef0d36f /fallbacks/bit.lua
parent3616de36510d613e3eb2e75e730f5066bfa41741 (diff)
parent81dba787f4875f51e6d376231373600401c99411 (diff)
downloadprosody-ccadcc9b4710fcf04c51d01cb40611efd5f7b835.tar.gz
prosody-ccadcc9b4710fcf04c51d01cb40611efd5f7b835.zip
Merge 0.10->trunk
Diffstat (limited to 'fallbacks/bit.lua')
-rw-r--r--fallbacks/bit.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/fallbacks/bit.lua b/fallbacks/bit.lua
index 28dca4e6..b41a0229 100644
--- a/fallbacks/bit.lua
+++ b/fallbacks/bit.lua
@@ -68,7 +68,7 @@ local function _rshift1(t)
end
function rshift(a, i)
local t = {a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]};
- for n = 1,i do _rshift1(t); end
+ for _ = 1, i do _rshift1(t); end
return setmetatable(t, bit_mt);
end
local function _arshift1(t)
@@ -81,7 +81,7 @@ local function _arshift1(t)
end
function arshift(a, i)
local t = {a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]};
- for n = 1,i do _arshift1(t); end
+ for _ = 1, i do _arshift1(t); end
return setmetatable(t, bit_mt);
end
local function _lshift1(t)
@@ -94,7 +94,7 @@ local function _lshift1(t)
end
function lshift(a, i)
local t = {a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]};
- for n = 1,i do _lshift1(t); end
+ for _ = 1, i do _lshift1(t); end
return setmetatable(t, bit_mt);
end