Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/vbox/vbox_common.c | 4 ++--
src/vbox/vbox_tmpl.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 72a24a34642d..74a7ba0c3e28 100644
--- a/src/vbox/vbox_common.c
+++ b/src/vbox/vbox_common.c
@@ -352,7 +352,7 @@ vboxSetStorageController(virDomainControllerDefPtr controller,
int ret = -1;
/* libvirt controller type => vbox bus type */
- switch ((virDomainControllerType) controller->type) {
+ switch ((virDomainControllerType)controller->type) {
case VIR_DOMAIN_CONTROLLER_TYPE_FDC:
VBOX_UTF8_TO_UTF16(VBOX_CONTROLLER_FLOPPY_NAME, &controllerName);
vboxBusType = StorageBus_Floppy;
@@ -7517,7 +7517,7 @@ vboxDomainScreenshot(virDomainPtr dom,
goto endjob;
}
- if (safewrite(tmp_fd, (char *) screenData,
+ if (safewrite(tmp_fd, (char *)screenData,
screenDataSize) < 0) {
virReportSystemError(errno, _("unable to write data "
"to '%s'"), tmp);
diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
index 88792c992897..cf0dbdc804d6 100644
--- a/src/vbox/vbox_tmpl.c
+++ b/src/vbox/vbox_tmpl.c
@@ -1649,7 +1649,7 @@ _vrdeServerGetPorts(vboxDriverPtr data, IVRDEServer *VRDEServer,
if (NS_FAILED(rc)) {
virReportError(VIR_ERR_INTERNAL_ERROR,
_("Failed to read RDP port value, rc=%08x"),
- (unsigned) rc);
+ (unsigned)rc);
goto cleanup;
}
--
2.17.0