Revision: 19108
http://sourceforge.net/p/edk2/code/19108
Author: abiesheuvel
Date: 2015-12-03 08:51:36 +0000 (Thu, 03 Dec 2015)
Log Message:
-----------
ArmVirtPkg: use explicit KERNEL_BLOB_TYPE cast
The ARM RVCT compiler does not allow implicit casts between enumerated
types and integer types. In this particular case, the STUB_FILE::Position
member is overloaded as a KERNEL_BLOB_TYPE identifier, so it does not
hurt to make that cast explicit.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Modified Paths:
--------------
trunk/edk2/ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c
Modified: trunk/edk2/ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c
===================================================================
--- trunk/edk2/ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c
2015-12-03 08:51:27 UTC (rev 19107)
+++ trunk/edk2/ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c
2015-12-03 08:51:36 UTC (rev 19108)
@@ -413,7 +413,9 @@
return EFI_SUCCESS;
}
- Status = ConvertKernelBlobTypeToFileInfo (StubFile->Position, BufferSize,
+ Status = ConvertKernelBlobTypeToFileInfo (
+ (KERNEL_BLOB_TYPE)StubFile->Position,
+ BufferSize,
Buffer);
if (EFI_ERROR (Status)) {
return Status;
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits