Fix signed unsigned overflow

This commit is contained in:
Andreas Schmitt
2021-06-20 01:16:17 +02:00
parent c1bf236a26
commit 86cfefba08

View File

@@ -994,7 +994,7 @@ int Train::GetAtcMaxSpeed() const
return std::max<int>(25, this->signal_speed_restriction);
}
return UINT32_MAX;
return INT32_MAX;
}
/**