[issue44051] Virtualalloc wrong return type

baptistecrepin report at bugs.python.org
Wed May 5 12:06:52 EDT 2021


New submission from baptistecrepin <baptiste.crepin at ntymail.com>:

The ctypes.windll.kernel32.VirtuAlloc function return by default a ctypes.c_long but on 64bits systems memory addresses can be higher so it should be a ctypes.c_uint64 or ctypes.c_void_p.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44051>
_______________________________________


More information about the Python-bugs-list mailing list