mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Time: Change old u32
timestamps to 64-bit (#5818)
MacOSX build fix + cleanups
This commit is contained in:
parent
4d5ce8478c
commit
d99b6fed55
18 changed files with 75 additions and 96 deletions
|
@ -590,9 +590,9 @@ void RemoteClient::notifyEvent(ClientStateEvent event)
|
|||
}
|
||||
}
|
||||
|
||||
u32 RemoteClient::uptime() const
|
||||
u64 RemoteClient::uptime() const
|
||||
{
|
||||
return porting::getTime(PRECISION_SECONDS) - m_connection_time;
|
||||
return porting::getTimeS() - m_connection_time;
|
||||
}
|
||||
|
||||
ClientInterface::ClientInterface(con::Connection* con)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue