diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-29 04:46:03 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-29 04:46:03 +0000 |
commit | 57d40fe2af8e43988893ca61fcf4088985ffc15b (patch) | |
tree | ea44d77f22fe6b1495ef842de336db064a20ae87 /EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.c | |
parent | 37eba217237e975c5c22045c7ec00943716ac66b (diff) | |
download | edk2-platforms-57d40fe2af8e43988893ca61fcf4088985ffc15b.tar.xz |
GCC cleanup for all EDK I DXE libraries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4969 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.c')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.c index e31546f28e..d99859d1eb 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.c +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.c @@ -52,7 +52,7 @@ Returns: BS = SystemTable->BootServices;
- Status = BS->LocateProtocol (&gEfiBootScriptSaveGuid, NULL, &mBootScriptSave);
+ Status = BS->LocateProtocol (&gEfiBootScriptSaveGuid, NULL, (VOID **)&mBootScriptSave);
if (EFI_ERROR (Status) && Status != EFI_ALREADY_STARTED) {
mBootScriptSave = NULL;
}
@@ -623,7 +623,7 @@ Returns: return BootScriptSaveInformation (
TableName,
(UINT32) EfiStrLen (String) * 2 + 2,
- (EFI_PHYSICAL_ADDRESS)String
+ (EFI_PHYSICAL_ADDRESS) (UINTN) String
);
}
@@ -656,7 +656,7 @@ Returns: return BootScriptSaveInformation (
TableName,
(UINT32) EfiAsciiStrLen (String) + 1,
- (EFI_PHYSICAL_ADDRESS)String
+ (EFI_PHYSICAL_ADDRESS) (UINTN) String
);
}
|