mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 18:22:01 +08:00
Extracting the lower part of a 64-bit value only works when long is 32-bit, but not if it's 64-bit as well as is the case under LP64 Unix systems. Just use a normal cast to long instead, as this is simpler and works in all cases. Also add a simple unit test for this case, which would have previously failed, but passes now. Closes #22592. Closes #22595.