mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
a9fd03053d
It was being set to ( ( 1LL << 31 ) - 2 ) which only used 31 bits when 32 are available. By setting it to ( ( 1LL << 32 ) - 2 ) the range of the timer is doubled to around 4295 seconds. Note that time values greater than approx 2147 seconds will have the top bit (1 << 31) set and so will appear to be negative as all numbers are considered to be signed.