Fix compilation error in Windows
This commit is contained in:
parent
fc88c64fcb
commit
021a737db5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue