mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
2c699c29cc
range.GetInternalValue() is an i32; multiplying it by 2 before the cast to i64 could overflow instead of widening, corrupting the divisor. Cast to i64 first.