ctypes.sizeof(ctypes.c_long) # returns 4 on arm
ctypes.sizeof(ctypes.c_long) # returns 8 on x86_64
ctypes.sizeof(ctypes.c_longlong) # returns 8 on arm and x86_64
Using c_long results with wrong primitive type conversion for DBus 'X' and 'T'.
It would be safe to use c_longlong (c_ulonglong) instead as they are 8 bytes on both architectures.
The size of c_long on arm differs from x86_64.
Using c_long results with wrong primitive type conversion for DBus 'X' and 'T'. It would be safe to use c_longlong (c_ulonglong) instead as they are 8 bytes on both architectures.