summaryrefslogtreecommitdiff
path: root/EdkModulePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-22 12:32:30 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-22 12:32:30 +0000
commit30a60d29aac19ca429dc75b6295db907618513b4 (patch)
tree1976e9659d333426b3d9f8101cd44c1bfb105de9 /EdkModulePkg
parent03b1a72da7fbda3f1e11a08557da9a9e8a6e3b8b (diff)
downloadedk2-platforms-30a60d29aac19ca429dc75b6295db907618513b4.tar.xz
Fix buger in DxeMain module and modify uefispec.h coding style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@597 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg')
-rw-r--r--EdkModulePkg/Core/Dxe/Hand/DriverSupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkModulePkg/Core/Dxe/Hand/DriverSupport.c b/EdkModulePkg/Core/Dxe/Hand/DriverSupport.c
index aa601fba08..30738572c9 100644
--- a/EdkModulePkg/Core/Dxe/Hand/DriverSupport.c
+++ b/EdkModulePkg/Core/Dxe/Hand/DriverSupport.c
@@ -411,10 +411,10 @@ Returns:
// Sort the remaining DriverBinding Protocol based on their Version field from
// highest to lowest.
//
- for ( ; SortIndex < DriverBindingHandleCount; SortIndex++) {
+ for ( ; SortIndex < NumberOfSortedDriverBindingProtocols; SortIndex++) {
HighestVersion = SortedDriverBindingProtocols[SortIndex]->Version;
HighestIndex = SortIndex;
- for (Index = SortIndex + 1; Index < DriverBindingHandleCount; Index++) {
+ for (Index = SortIndex + 1; Index < NumberOfSortedDriverBindingProtocols; Index++) {
if (SortedDriverBindingProtocols[Index]->Version > HighestVersion) {
HighestVersion = SortedDriverBindingProtocols[Index]->Version;
HighestIndex = Index;