[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCHv2 26/27] remote: prefer unsigned flags



* src/remote/remote_driver.c (call, remoteOpenSecondaryDriver):
Prefer unsigned flags.
---

v2: new patch

 src/remote/remote_driver.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 8dff6a8..2bfb15b 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -104,7 +104,7 @@ static void remoteDriverUnlock(struct private_data *driver)
 }

 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 ret_filter, char *ret);
 static int remoteAuthenticate (virConnectPtr conn, struct private_data *priv,
@@ -714,7 +714,7 @@ remoteAllocPrivateData(void)
 static int
 remoteOpenSecondaryDriver(virConnectPtr conn,
                           virConnectAuthPtr auth,
-                          int flags,
+                          unsigned int flags,
                           struct private_data **priv)
 {
     int ret;
@@ -3914,7 +3914,7 @@ done:
 static int
 call (virConnectPtr conn ATTRIBUTE_UNUSED,
       struct private_data *priv,
-      int flags,
+      unsigned int flags,
       int proc_nr,
       xdrproc_t args_filter, char *args,
       xdrproc_t ret_filter, char *ret)
-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]