virDomainGraphicsDefParseXMLSpice: Fix variable type

Fixes: 2a5e16398eb622f30dabb16770d2e14b7a6d5212
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Tim Wiederhake 2021-05-05 12:55:46 +02:00 committed by Michal Privoznik
parent 69c8d5954e
commit 4647ac4205

View File

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