[libvirt] [PATCH] minor fix's

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

 



Hi All,

Just minor fix's.

Regards,
Pritesh
diff --git a/daemon/dispatch.c b/daemon/dispatch.c
index e9fe260..011d523 100644
--- a/daemon/dispatch.c
+++ b/daemon/dispatch.c
@@ -594,7 +594,7 @@ remoteSendStreamData(struct qemud_client *client,
     struct qemud_client_message *msg;
     XDR xdr;
 
-    DEBUG("client=%p stream=%p data=%p len=%d", client, stream, data, len);
+    DEBUG("client=%p stream=%p data=%p len=%zd", client, stream, data, len);
 
     if (VIR_ALLOC(msg) < 0) {
         return -1;
@@ -640,7 +640,7 @@ remoteSendStreamData(struct qemud_client *client,
         if (xdr_setpos (&xdr, 0) == 0)
             goto xdr_error;
 
-        if (!xdr_u_int (&xdr, &len))
+        if (!xdr_u_int (&xdr, (unsigned *)&len))
             goto xdr_error;
 
         xdr_destroy (&xdr);
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]