Re: [PATCH 01/29] admin: Add spaces after casts

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

 



On Mon, Apr 23, 2018 at 02:52:01PM +0200, Peter Krempa wrote:
On Mon, Apr 23, 2018 at 14:44:29 +0200, Martin Kletzander wrote:
Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 src/admin/admin_remote.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/admin/admin_remote.c b/src/admin/admin_remote.c
index b29d109f6a29..56c2e743e45b 100644
--- a/src/admin/admin_remote.c
+++ b/src/admin/admin_remote.c
@@ -172,8 +172,8 @@ remoteAdminConnectOpen(virAdmConnectPtr conn, unsigned int flags)
                                  virObjectFreeCallback);

     if (call(conn, 0, ADMIN_PROC_CONNECT_OPEN,
-             (xdrproc_t)xdr_admin_connect_open_args, (char *)&args,
-             (xdrproc_t)xdr_void, (char *)NULL) == -1) {
+             (xdrproc_t)xdr_admin_connect_open_args, (char *) &args,
+             (xdrproc_t)xdr_void, (char *) NULL) == -1) {

               ^^^^^^^^^^^ This also looks like a cast ;)


Oh shoot, it does.  And a freakin' obvious one indeed.  I remember adding
anything that ends with '_t' to the list of types that we cast, so I must've
left it somwhere.  I'll dig up the differences, add it here, resend the series
and then get nacked by jtomko, I guess.

Thanks.

Attachment: signature.asc
Description: Digital signature

--
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]

  Powered by Linux