forwarded 1053341 https://github.com/h5py/h5py/issues/2315 thanks I suspect it can be resolved by casting the int returned by addressof to ctypes.c_int. Waiting to hear what upstream thinks. Note it's not quite as simple as "32-bit". sparc64 is also affected.