Fix compilation error in Windows

This commit is contained in:
nsubiron 2017-09-28 15:19:37 +02:00
parent fc88c64fcb
commit 021a737db5
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ APlayerStart *CarlaGameController::ChoosePlayerStart(
}
}
if (StartIndex >= AvailableStartSpots.Num()) {
if (static_cast<int64>(StartIndex) >= AvailableStartSpots.Num()) {
UE_LOG(LogCarlaServer, Warning, TEXT("Client requested an invalid player start, using default one instead."));
StartIndex = 0u;
}