Browse Source

fixed #1665. cast to int64_t

pull/1677/head
orignal 4 years ago
parent
commit
35ba16ff3b
  1. 2
      daemon/I2PControl.cpp

2
daemon/I2PControl.cpp

@ -406,7 +406,7 @@ namespace client @@ -406,7 +406,7 @@ namespace client
void I2PControlService::UptimeHandler (std::ostringstream& results)
{
InsertParam (results, "i2p.router.uptime", (int)i2p::context.GetUptime ()*1000);
InsertParam (results, "i2p.router.uptime", std::to_string (i2p::context.GetUptime ()*1000LL));
}
void I2PControlService::VersionHandler (std::ostringstream& results)

Loading…
Cancel
Save