summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-27 03:33:51 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-27 03:33:51 +0000
commit84b5c78e89686879f799a4cd095eeef83ff7cf34 (patch)
tree3cc8d6eed389d20c3ef707958cd22216b71ebd82 /MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c
parentf490a61d79cdbb3325f2f273e588eae54168fc42 (diff)
downloadedk2-platforms-84b5c78e89686879f799a4cd095eeef83ff7cf34.tar.xz
Make MdeModulePkg GCC clean.
It also pass ICC+IPF and MYTOOLS+EBC build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3711 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c b/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c
index a4a19e4b9c..f551c0a93b 100644
--- a/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c
+++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/efikey.c
@@ -98,7 +98,7 @@ USBKeyboardCheckForKey (
);
EFI_GUID gEfiUsbKeyboardDriverGuid = {
- 0xa05f5f78, 0xfb3, 0x4d10, 0x90, 0x90, 0xac, 0x4, 0x6e, 0xeb, 0x7c, 0x3c
+ 0xa05f5f78, 0xfb3, 0x4d10, {0x90, 0x90, 0xac, 0x4, 0x6e, 0xeb, 0x7c, 0x3c}
};
//
@@ -330,7 +330,7 @@ USBKeyboardDriverBindingStart (
//
// We only care interrupt endpoint here
//
- UsbKeyboardDevice->IntEndpointDescriptor = EndpointDescriptor;
+ CopyMem(&UsbKeyboardDevice->IntEndpointDescriptor, &EndpointDescriptor, sizeof(EndpointDescriptor));
Found = TRUE;
}
}