wxWidgets/tests/any
Vadim Zeitlin 8a17c52c3b Fix wrong conversion of negative 64-bit wxAny to wxVariant
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.
2022-07-04 01:19:50 +02:00
..
anytest.cpp Fix wrong conversion of negative 64-bit wxAny to wxVariant 2022-07-04 01:19:50 +02:00