mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
VS2005 and DDK3790 tool chain tags require typecasts to BOOLEAN to compile.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13779 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
02bbc6ee99
commit
dccf767884
@ -118,7 +118,7 @@ SubstringEq (
|
||||
++Chr;
|
||||
}
|
||||
|
||||
return (Pos == Substring.Len && *Chr == '\0');
|
||||
return (BOOLEAN)(Pos == Substring.Len && *Chr == '\0');
|
||||
}
|
||||
|
||||
|
||||
@ -782,7 +782,7 @@ Match (
|
||||
//
|
||||
// Is Translated a prefix of Converted?
|
||||
//
|
||||
Result = (StrnCmp (Converted, Translated, TranslatedLength) == 0);
|
||||
Result = (BOOLEAN)(StrnCmp (Converted, Translated, TranslatedLength) == 0);
|
||||
DEBUG ((
|
||||
DEBUG_VERBOSE,
|
||||
"%a: against \"%s\": %a\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user