fix 32-bit kernel uptime error

error: mismatched types: expected `i64`, found `i32` (expected i64,
found i32)
Merge pull request #461 from skv-headless/uptime_mismatch

fix 32-bit kernel uptime error
tr: improve speed slightly
Merge pull request #462 from Arcterus/tr

tr: improve speed slightly