]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainControllerDefFormat: Use proper type for enum
authorPeter Krempa <pkrempa@redhat.com>
Fri, 26 Aug 2022 10:25:23 +0000 (12:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 1 Sep 2022 11:11:10 +0000 (13:11 +0200)
commitab075f4f0d2049e0102bb93ea8c92ec70caca2aa
tree7210bbf3391c4817e14c0f060dbf53449470430a
parentb7efd991730b330d9699a379cef6dfe1757f7ed8
virDomainControllerDefFormat: Use proper type for enum

Typecast the controller type variable and add all cases to the switch
statement.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c