Skip to content

Commit

Permalink
Merge pull request #1126 from TSnake41/stream-readable-localize
Browse files Browse the repository at this point in the history
Localize p in stream_readable.lua.
  • Loading branch information
squeek502 committed Nov 28, 2020
2 parents 32237af + 71fb031 commit f31d243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/stream/stream_readable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function roundUpToNextPowerOf2(n)
n = MAX_HWM
else
n = n - 1
p = 1
local p = 1
while p < 32 do
n = bit.bor(n, bit.rshift(n, p))
p = bit.lshift(p, 1)
Expand Down

0 comments on commit f31d243

Please sign in to comment.