openwrt: Lua allows 0xFFFFFFFF to overflow. Use decimal notation instead.

This commit is contained in:
Bart Van Der Meerssche 2010-09-10 12:01:56 +02:00
parent 8032327cc2
commit a6f3300ffc
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ function buffer(child, interval)
if y >= x then
return y - x
else -- y wrapped around 32-bit boundary
return (0xFFFFFFFF - x) + y + 1
return 4294967296 - x + y
end
end