edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ReportStatusCode.c:

Fix warning from Intel Compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5276 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2008-05-22 23:29:56 +00:00
parent d04f2a1fb7
commit 8e98644530
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ Returns:
EFI_STATUS Status;
DevicePathSize = (UINT16) EfiDevicePathSize (DevicePath);
Size = DevicePathSize + sizeof (EFI_STATUS_CODE_DATA);
Size = (UINT16) (DevicePathSize + sizeof (EFI_STATUS_CODE_DATA));
ExtendedData = (EFI_STATUS_CODE_DATA *) EfiLibAllocatePool (Size);
if (ExtendedData == NULL) {
return EFI_OUT_OF_RESOURCES;