From: Tim Wiederhake Date: Wed, 21 Apr 2021 15:51:26 +0000 (+0200) Subject: qemuAppendKeyWrapMachineParm: Stricten parameter types X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=13f617a119b45ee820d45c9888495ccd69a04bab;p=libvirt.git qemuAppendKeyWrapMachineParm: Stricten parameter types Follow up to the last patch. Signed-off-by: Tim Wiederhake Reviewed-by: Michal Privoznik --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 2ceff15512..be93182092 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -6804,7 +6804,8 @@ qemuBuildCpuCommandLine(virCommand *cmd, static bool qemuAppendKeyWrapMachineParm(virBuffer *buf, virQEMUCaps *qemuCaps, - int flag, const char *pname, int pstate) + virQEMUCapsFlags flag, const char *pname, + virTristateSwitch pstate) { if (pstate != VIR_TRISTATE_SWITCH_ABSENT) { if (!virQEMUCapsGet(qemuCaps, flag)) {