Commit d5e0adac authored by Daniel P. Berrangé's avatar Daniel P. Berrangé

connect: use 'unsigned int' instead of 'uint'

Use of the 'uint' type in CGo headers causes confusion about
the type for 'C.uint' which breaks build with Go 1.11 beta2:

  inconsistent definitions for C.uint

Use 'unsigned int' as that is the original type name.
Signed-off-by: 's avatarDaniel P. Berrangé <berrange@redhat.com>
parent 2c9281d8
......@@ -761,7 +761,7 @@ virConnectOpenWrapper(const char *name,
virConnectPtr
virConnectOpenAuthWrapper(const char *name,
int *credtype,
uint ncredtype,
unsigned int ncredtype,
int callbackID,
unsigned int flags,
virErrorPtr err)
......
......@@ -326,7 +326,7 @@ virConnectOpenWrapper(const char *name,
virConnectPtr
virConnectOpenAuthWrapper(const char *name,
int *credtype,
uint ncredtype,
unsigned int ncredtype,
int callbackID,
unsigned int flags,
virErrorPtr err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment