mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
xenconfig/: Remove spaces after casts
Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4c7315b4ab
commit
25f4ee5179
@ -268,7 +268,7 @@ xenConfigSetInt(virConfPtr conf, const char *setting, long long l)
|
||||
{
|
||||
virConfValuePtr value = NULL;
|
||||
|
||||
if ((long) l != l) {
|
||||
if ((long)l != l) {
|
||||
virReportError(VIR_ERR_OVERFLOW, _("failed to store %lld to %s"),
|
||||
l, setting);
|
||||
return -1;
|
||||
@ -1673,7 +1673,7 @@ xenFormatCPUFeatures(virConfPtr conf, virDomainDefPtr def)
|
||||
}
|
||||
|
||||
for (i = 0; i < def->clock.ntimers; i++) {
|
||||
switch ((virDomainTimerNameType) def->clock.timers[i]->name) {
|
||||
switch ((virDomainTimerNameType)def->clock.timers[i]->name) {
|
||||
case VIR_DOMAIN_TIMER_NAME_TSC:
|
||||
switch (def->clock.timers[i]->mode) {
|
||||
case VIR_DOMAIN_TIMER_MODE_NATIVE:
|
||||
|
@ -1601,7 +1601,7 @@ xenFormatXLDiskSrc(virStorageSourcePtr src, char **srcstr)
|
||||
if (virStorageSourceIsEmpty(src))
|
||||
return 0;
|
||||
|
||||
switch ((virStorageType) actualType) {
|
||||
switch ((virStorageType)actualType) {
|
||||
case VIR_STORAGE_TYPE_BLOCK:
|
||||
case VIR_STORAGE_TYPE_FILE:
|
||||
case VIR_STORAGE_TYPE_DIR:
|
||||
|
Loading…
Reference in New Issue
Block a user