mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
OvmfPkg/VirtIoSerialDxe: Update for VS2015x86 compatibility
Move initialization of local variable structure from declaration to statements to fix VS2015x86 build break. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Ard Biesheuvel <ardb+tianocore@kernel.org>
This commit is contained in:
parent
e1f5c6249a
commit
c0bce66068
@ -66,11 +66,11 @@ VirtioSerialTxControl (
|
|||||||
IN UINT16 Value
|
IN UINT16 Value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
VIRTIO_SERIAL_CONTROL Control = {
|
VIRTIO_SERIAL_CONTROL Control;
|
||||||
.Id = Id,
|
|
||||||
.Event = Event,
|
Control.Id = Id;
|
||||||
.Value = Value,
|
Control.Event = Event;
|
||||||
};
|
Control.Value = Value;
|
||||||
|
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_INFO,
|
DEBUG_INFO,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user