diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-22 23:29:56 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-22 23:29:56 +0000 |
commit | 8e98644530b1fcf81fd7fbb2b2f79c680d7b29b0 (patch) | |
tree | 91c16a8708857e5e129dee0ec9b7879809f81843 /EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib | |
parent | d04f2a1fb7acc807d370f12bde367ec81ee36f3f (diff) | |
download | edk2-platforms-8e98644530b1fcf81fd7fbb2b2f79c680d7b29b0.tar.xz |
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
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ReportStatusCode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ReportStatusCode.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ReportStatusCode.c index 72efa4c45d..a8145cd28a 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ReportStatusCode.c +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ReportStatusCode.c @@ -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;
|