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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user