Change errorCode to int for consistency between 32-bit and 64-bit platforms

Unfortunately this requires updating all client code that uses these callbacks.
This commit is contained in:
Cameron Gutman
2020-02-24 22:55:45 -08:00
parent cfeb0ffd90
commit 2fc278da00
4 changed files with 7 additions and 7 deletions

View File

@@ -466,7 +466,7 @@ static void controlReceiveThreadFunc(void* context) {
return;
}
long terminationErrorCode = -1;
int terminationErrorCode = -1;
while (!PltIsThreadInterrupted(&controlReceiveThread)) {
ENetEvent event;