]> Git Repo - qemu.git/blobdiff - block/file-win32.c
qapi: Change data type of the FOO_lookup generated for enum FOO
[qemu.git] / block / file-win32.c
index f2a1830060060dbf716ad8c6996bc325f75f006e..9e02214a69bea59eb6eb33c34aebf83bba0de115 100644 (file)
@@ -302,7 +302,7 @@ static bool get_aio_option(QemuOpts *opts, int flags, Error **errp)
 
     aio_default = (flags & BDRV_O_NATIVE_AIO) ? BLOCKDEV_AIO_OPTIONS_NATIVE
                                               : BLOCKDEV_AIO_OPTIONS_THREADS;
-    aio = qapi_enum_parse(BlockdevAioOptions_lookup, qemu_opt_get(opts, "aio"),
+    aio = qapi_enum_parse(&BlockdevAioOptions_lookup, qemu_opt_get(opts, "aio"),
                           aio_default, errp);
 
     switch (aio) {
This page took 0.018543 seconds and 4 git commands to generate.