Use PyLong_AsVoidPtr instead of PyInt_AsLong to support 64-bit pointers on Windows. (long is only 32-bit on win64 but void* is 64-bit)
Use PyLong_AsVoidPtr instead of PyInt_AsLong to support 64-bit pointers on Windows. (long is only 32-bit on win64 but void* is 64-bit)

ravidavi/OpenFrames