diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 77105e6a07..4a2c83b6f7 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -12734,8 +12734,8 @@ virDomainGraphicsDefParseXMLSpice(virDomainGraphicsDef *def, return -1; for (i = 0; i < n; i++) { - unsigned int name; - unsigned int mode; + virDomainGraphicsSpiceChannelName name; + virDomainGraphicsSpiceChannelMode mode; if (virXMLPropEnum(node_list[i], "name", virDomainGraphicsSpiceChannelNameTypeFromString,