remote: prefer unsigned flags

* src/remote/remote_driver.c (call, remoteOpenSecondaryDriver):
Prefer unsigned flags.
This commit is contained in:
Eric Blake 2011-07-08 12:57:08 -06:00
parent 553115d3ca
commit 3349f2bb65

View File

@ -104,7 +104,7 @@ static void remoteDriverUnlock(struct private_data *driver)
} }
static int call (virConnectPtr conn, struct private_data *priv, static int call (virConnectPtr conn, struct private_data *priv,
int flags, int proc_nr, unsigned int flags, int proc_nr,
xdrproc_t args_filter, char *args, xdrproc_t args_filter, char *args,
xdrproc_t ret_filter, char *ret); xdrproc_t ret_filter, char *ret);
static int remoteAuthenticate (virConnectPtr conn, struct private_data *priv, static int remoteAuthenticate (virConnectPtr conn, struct private_data *priv,
@ -715,7 +715,7 @@ remoteAllocPrivateData(void)
static int static int
remoteOpenSecondaryDriver(virConnectPtr conn, remoteOpenSecondaryDriver(virConnectPtr conn,
virConnectAuthPtr auth, virConnectAuthPtr auth,
int flags, unsigned int flags,
struct private_data **priv) struct private_data **priv)
{ {
int ret; int ret;
@ -3921,7 +3921,7 @@ done:
static int static int
call (virConnectPtr conn ATTRIBUTE_UNUSED, call (virConnectPtr conn ATTRIBUTE_UNUSED,
struct private_data *priv, struct private_data *priv,
int flags, unsigned int flags,
int proc_nr, int proc_nr,
xdrproc_t args_filter, char *args, xdrproc_t args_filter, char *args,
xdrproc_t ret_filter, char *ret) xdrproc_t ret_filter, char *ret)