mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 18:22:01 +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.