mirror of https://github.com/acidanthera/audk.git
Vlv2TbltDevicePkg/SmBiosMiscDxe: Fix GCC build issue
Fix loop comparison for end of languages. Cc: Zailiang Sun <zailiang.sun@intel.com> Cc: Yi Qian <yi.qian@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Zailiang Sun <zailiang.sun@intel.com> Reviewed-by: Yi Qian <yi.qian@intel.com>
This commit is contained in:
parent
e5a0cf9125
commit
f4aa56e7cc
|
@ -1,10 +1,12 @@
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||||
|
|
||||||
|
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Module Name:
|
Module Name:
|
||||||
|
@ -68,7 +70,7 @@ CurrentLanguageMatch (
|
||||||
// Find the best matching RFC 4646 language, compute the offset.
|
// Find the best matching RFC 4646 language, compute the offset.
|
||||||
//
|
//
|
||||||
CompareLength = AsciiStrLen (BestLanguage);
|
CompareLength = AsciiStrLen (BestLanguage);
|
||||||
for (MatchLang = Languages, (*Offset) = 0; MatchLang != '\0'; (*Offset)++) {
|
for (MatchLang = Languages, (*Offset) = 0; *MatchLang != '\0'; (*Offset)++) {
|
||||||
//
|
//
|
||||||
// Seek to the end of current match language.
|
// Seek to the end of current match language.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue