mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00
fix: fixed cross-platform build
This commit is contained in:
parent
ac5cb7c67e
commit
75736e7c44
@ -1 +1 @@
|
||||
4386
|
||||
4387
|
||||
|
@ -244,7 +244,7 @@ namespace Qv2ray::core::handlers
|
||||
LOG(MODULE_CORE_HANDLER, "Cannot find id: " + id.toString());
|
||||
}
|
||||
|
||||
return max(connections[id].latency, 0L);
|
||||
return max(connections[id].latency, (int64_t) 0);
|
||||
}
|
||||
const optional<QString> QvConnectionHandler::RenameConnection(const ConnectionId &id, const QString &newName)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user