mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-28 15:50:17 +08:00
Don't multiply rand() by values that can result in overflowing the range of int type, cast it to float and then convert back to int instead.