diff options
| author | Cao Jiaxi | 2019-05-07 13:55:03 +0200 |
|---|---|---|
| committer | Peter Maydell | 2019-05-07 13:55:03 +0200 |
| commit | 8ac65578920a98a845aa8c80ea19140a51440185 (patch) | |
| tree | 9fff5a0a02eb078f87728ffeeb0d00fbd7b3aaab /linux-headers/linux | |
| parent | QEMU_PACKED: Remove gcc_struct attribute in Windows non x86 targets (diff) | |
| download | qemu-8ac65578920a98a845aa8c80ea19140a51440185.tar.gz qemu-8ac65578920a98a845aa8c80ea19140a51440185.tar.xz qemu-8ac65578920a98a845aa8c80ea19140a51440185.zip | |
qga: Fix mingw compilation warnings on enum conversion
The win2qemu[] is supposed to be the conversion table to convert between
STORAGE_BUS_TYPE in Windows SDK and GuestDiskBusType in qga.
But it was incorrectly written that it forces to set a GuestDiskBusType
value to STORAGE_BUS_TYPE, which generates an enum conversion warning in clang.
Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Cao Jiaxi <driver1998@foxmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20190503003650.10137-1-driver1998@foxmail.com
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
