diff options
author | Bastian Germann <bage@linutronix.de> | 2022-09-09 17:18:56 +0200 |
---|---|---|
committer | Bastian Germann <bage@linutronix.de> | 2022-09-09 17:18:56 +0200 |
commit | b4f1d3b4eebbf3522cfbf83b20c0d84966721bf6 (patch) | |
tree | 3e4e34d7fd8faad8c78b093ab4a21bd060c4330f | |
parent | 292da8384ca463d1ea168866ac93375a12878398 (diff) | |
download | libvirt-python-b4f1d3b4eebbf3522cfbf83b20c0d84966721bf6.tar.gz |
Replace uint with unsigned int
Mingw-w64 target does not support uint definition.
Signed-off-by: Bastian Germann <bage@linutronix.de>
-rw-r--r-- | typewrappers.c | 2 | ||||
-rw-r--r-- | typewrappers.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/typewrappers.c b/typewrappers.c index 3b1df87..6d53247 100644 --- a/typewrappers.c +++ b/typewrappers.c @@ -30,7 +30,7 @@ libvirt_intWrap(int val) } PyObject * -libvirt_uintWrap(uint val) +libvirt_uintWrap(unsigned int val) { return PyLong_FromLong((long) val); } diff --git a/typewrappers.h b/typewrappers.h index 3bdc0ae..427323a 100644 --- a/typewrappers.h +++ b/typewrappers.h @@ -189,7 +189,7 @@ typedef struct { } PyvirVoidPtr_Object; PyObject * libvirt_intWrap(int val); -PyObject * libvirt_uintWrap(uint val); +PyObject * libvirt_uintWrap(unsigned int val); PyObject * libvirt_longWrap(long val); PyObject * libvirt_ulongWrap(unsigned long val); PyObject * libvirt_longlongWrap(long long val); |