- Cast to `ushort`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-03 14:37:41 +02:00
parent 0638b6c713
commit bdd96f63d3
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ void main(string[] args)
}
// TODO: Extract config info here and set it in the `connInfo` below
ConnectionInfo connInfo = ConnectionInfo.newConnection(config.serverAddr, config.serverPort, "bottyng", "doggie", "Tristan B. Kildaire");
ConnectionInfo connInfo = ConnectionInfo.newConnection(config.serverAddr, cast(ushort)config.serverPort, "bottyng", "doggie", "Tristan B. Kildaire");
// // Set the fakelag to 1 second
// connInfo.setFakeLag(1);