No need to use 'long'.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index ff5a743716..50bc62f1ab 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -3497,7 +3497,7 @@ processGuestPanicEvent(virQEMUDriver *driver,
qemuDomainObjPrivate *priv = vm->privateData;
virObjectEvent *event = NULL;
bool removeInactive = false;
- unsigned long flags = VIR_DUMP_MEMORY_ONLY;
+ unsigned int flags = VIR_DUMP_MEMORY_ONLY;
if (virDomainObjBeginAsyncJob(vm, VIR_ASYNC_JOB_DUMP,
VIR_DOMAIN_JOB_OPERATION_DUMP, flags) < 0)
--
2.37.3