mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 12:15:18 +01:00
Time: Change old u32 timestamps to 64-bit (#5818)
MacOSX build fix + cleanups
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user