diff options
author | Martin Kletzander <mkletzan@redhat.com> | 2018-04-25 14:42:34 +0200 |
---|---|---|
committer | Martin Kletzander <mkletzan@redhat.com> | 2018-05-03 22:31:37 +0200 |
commit | 5b912664c67a95451adb2973cbcc9851486273f4 (patch) | |
tree | f20755b0020a0c876bf99e980555ac07c0b85557 /src/qemu/qemu_monitor_json.c | |
parent | 221090dbdaf03ca82a3edaa565640fee828d9b42 (diff) | |
download | libvirt-5b912664c67a95451adb2973cbcc9851486273f4.tar.gz |
qemu/: Remove spaces after casts
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'src/qemu/qemu_monitor_json.c')
-rw-r--r-- | src/qemu/qemu_monitor_json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index 05ac8d0a3c..8176175894 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -5325,7 +5325,7 @@ qemuMonitorJSONParseCPUModelProperty(const char *key, prop = machine_model->props + machine_model->nprops; - switch ((virJSONType) virJSONValueGetType(value)) { + switch ((virJSONType)virJSONValueGetType(value)) { case VIR_JSON_TYPE_STRING: if (VIR_STRDUP(prop->value.string, virJSONValueGetString(value)) < 0) return -1; @@ -6589,7 +6589,7 @@ qemuMonitorJSONAttachCharDevCommand(const char *chrID, goto cleanup; } - switch ((virDomainChrType) chr->type) { + switch ((virDomainChrType)chr->type) { case VIR_DOMAIN_CHR_TYPE_NULL: case VIR_DOMAIN_CHR_TYPE_VC: backend_type = "null"; |