mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
Properly parse (unsigned) long long
This fixes problems on platforms where sizeof(long) != sizeof(long long) like ia32. (cherry picked from commit d78035d06aab73a76a82c525f41580cf986cce7b)
This commit is contained in:
parent
71460b50b7
commit
95110e715d
@ -259,8 +259,8 @@ py_types = {
|
||||
'double': ('d', None, "double", "double"),
|
||||
'unsigned int': ('i', None, "int", "int"),
|
||||
'unsigned long': ('l', None, "long", "long"),
|
||||
'long long': ('l', None, "longlong", "long long"),
|
||||
'unsigned long long': ('l', None, "longlong", "long long"),
|
||||
'long long': ('L', None, "longlong", "long long"),
|
||||
'unsigned long long': ('L', None, "longlong", "long long"),
|
||||
'unsigned char *': ('z', None, "charPtr", "char *"),
|
||||
'char *': ('z', None, "charPtr", "char *"),
|
||||
'const char *': ('z', None, "constcharPtr", "const char *"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user