mirror of https://github.com/acidanthera/audk.git
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
|
||||
)
|
||||
{
|
||||
VIRTIO_SERIAL_CONTROL Control = {
|
||||
.Id = Id,
|
||||
.Event = Event,
|
||||
.Value = Value,
|
||||
};
|
||||
VIRTIO_SERIAL_CONTROL Control;
|
||||
|
||||
Control.Id = Id;
|
||||
Control.Event = Event;
|
||||
Control.Value = Value;
|
||||
|
||||
DEBUG ((
|
||||
DEBUG_INFO,
|
||||
|
|
Loading…
Reference in New Issue