aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/unix.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-10-14 16:40:34 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-10-15 13:38:39 +0200
commitb8af11af6027e83f741c4ee6e19b8e03b57d5dfa (patch)
tree1351d2b80fab48922d2396074d33d1bba1457466 /build_scripts/platforms/unix.py
parenta1df680b0f92fe70920cedbada8e9969a582f82b (diff)
Fix signature handling for 32bit
Use PyLong_FromVoidPtr()/PyLong_AsVoidPtr() to pass addresses instead of converting to size_t, which can cause signedness issues when using it with the 'n' format of Py_BuildValue(). Split off a helper function taking an address from address_ptr_to_stringlist(), avoiding a conversion. Fixes: PYSIDE-2891 Change-Id: I375311fa910a66b776e6355b0664bb5364fbdab7 Reviewed-by: Fabian Vogt <fabian@ritter-vogt.de> Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/platforms/unix.py')
0 files changed, 0 insertions, 0 deletions