qemu-edid: drop cast

Not needed and makes some compilers error out with:

qemu-edid.c:15:1: error: initializer element is not constant

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20201013091615.14166-1-kraxel@redhat.com
This commit is contained in:
Gerd Hoffmann 2020-10-13 11:16:15 +02:00
parent 96292515c0
commit c7146542b1

View File

@ -9,7 +9,7 @@
#include "qemu/cutils.h"
#include "hw/display/edid.h"
static qemu_edid_info info = (qemu_edid_info) {
static qemu_edid_info info = {
.prefx = 1024,
.prefy = 768,
};