diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-08 12:50:40 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-08 12:50:40 +0000 |
commit | b9066aae2514ddf6dd5dfa6fe93f2ef500fddc95 (patch) | |
tree | f3d035a51be6c32e7cc52dbcc7c7dc932b756ca2 /MdeModulePkg/Core/Dxe/Hand/Locate.c | |
parent | 7c80ae1b31bccbe66e074fe74b760a3f903e8d5f (diff) | |
download | edk2-platforms-b9066aae2514ddf6dd5dfa6fe93f2ef500fddc95.tar.xz |
Change field Handle to type IHANDLE to remove the type casting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5846 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Hand/Locate.c')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Hand/Locate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Core/Dxe/Hand/Locate.c b/MdeModulePkg/Core/Dxe/Hand/Locate.c index 7b1cf2a7dd..de3152107b 100644 --- a/MdeModulePkg/Core/Dxe/Hand/Locate.c +++ b/MdeModulePkg/Core/Dxe/Hand/Locate.c @@ -334,7 +334,7 @@ CoreGetNextLocateByRegisterNotify ( Link = ProtNotify->Position->ForwardLink;
if (Link != &ProtNotify->Protocol->Protocols) {
Prot = CR (Link, PROTOCOL_INTERFACE, ByProtocol, PROTOCOL_INTERFACE_SIGNATURE);
- Handle = (IHANDLE *) Prot->Handle;
+ Handle = Prot->Handle;
*Interface = Prot->Interface;
}
}
@@ -385,7 +385,7 @@ CoreGetNextLocateByProtocol ( // Get the handle
//
Prot = CR(Link, PROTOCOL_INTERFACE, ByProtocol, PROTOCOL_INTERFACE_SIGNATURE);
- Handle = (IHANDLE *) Prot->Handle;
+ Handle = Prot->Handle;
*Interface = Prot->Interface;
//
|