You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Replace some problematic uses of String::num to String::num_int64
This commit is contained in:
@@ -93,7 +93,7 @@ Error EMWSPeer::connect_to_url(const String &p_url, Ref<TLSOptions> p_tls_option
|
||||
requested_url = scheme + host;
|
||||
|
||||
if (port && ((scheme == "ws://" && port != 80) || (scheme == "wss://" && port != 443))) {
|
||||
requested_url += ":" + String::num(port);
|
||||
requested_url += ":" + String::num_int64(port);
|
||||
}
|
||||
|
||||
if (!path.is_empty()) {
|
||||
|
||||
Reference in New Issue
Block a user