[PATCH 10/29] network: Add spaces after casts

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

 



Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 src/network/bridge_driver.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 2e9191f75d53..c5ed34f32a81 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -417,7 +417,7 @@ networkBridgeDummyNicName(const char *brname)
          */
         ignore_value(virAsprintf(&nicname, "%.*s%s%s",
                                  /* space for last 3 chars + "-nic" + NULL */
-                                 (int)(IFNAMSIZ - (3 + sizeof(dummyNicSuffix))),
+                                 (int) (IFNAMSIZ - (3 + sizeof(dummyNicSuffix))),
                                  brname, brname + strlen(brname) - 3,
                                  dummyNicSuffix));
     } else {
@@ -1250,8 +1250,8 @@ networkDnsmasqConfContents(virNetworkObjPtr obj,
                                  "upgrade dnsmasq, or use a private/local "
                                  "subnet range for this network "
                                  "(as described in RFC1918/RFC3484/RFC4193)."),
-                               ipaddr, (int)version / 1000000,
-                               (int)(version % 1000000) / 1000);
+                               ipaddr, (int) version / 1000000,
+                               (int) (version % 1000000) / 1000);
                 VIR_FREE(ipaddr);
                 goto cleanup;
             }
@@ -1367,8 +1367,8 @@ networkDnsmasqConfContents(virNetworkObjPtr obj,
                                      "IPv6 dhcp range or dhcp host "
                                      "specification. Version %d.%d or later "
                                      "is required."),
-                                   (int)version / 1000000,
-                                   (int)(version % 1000000) / 1000,
+                                   (int) version / 1000000,
+                                   (int) (version % 1000000) / 1000,
                                    DNSMASQ_DHCPv6_MAJOR_REQD,
                                    DNSMASQ_DHCPv6_MINOR_REQD);
                     goto cleanup;
-- 
2.17.0

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