mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
long is 32bit on 32-bit archs and on Win64 (see https://en.cppreference.com/w/cpp/language/types ). As SIP uses PyLong_AsLongLong internally and uses an extra bounds check only if explicitly enabled("sip.enableoverflowchecking(True)"), the overflow only triggers when it also overflows `long long`, i.e. when _LONG_MAX == _LLONG_MAX.
5.2 KiB
5.2 KiB