fix typo
This commit is contained in:
1 parent
1fd45c3903
commit
c0bb3ab3f7
1 file changed
+1
-1
@@ -13,7 +13,7 @@ function TimeVal:new(o)
|
||||
if o.usec == nil then
|
||||
o.usec = 0
|
||||
elseif o.usec > 1000000 then
|
||||
o.sec = o.sec + maht.floor(o.usec/1000000)
|
||||
o.sec = o.sec + math.floor(o.usec/1000000)
|
||||
o.usec = o.usec % 1000000
|
||||
end
|
||||
setmetatable(o, self)
|
||||
|
||||
Reference in new issue
Block a user