diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-10-03 20:22:17 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-10-03 20:22:17 +0000 |
commit | dccf7678846785d23950e63c61ed8f614f89eecf (patch) | |
tree | eee8665d5d61769f0bf17491a46dace1a954de8e /OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c | |
parent | 02bbc6ee996d891988443384cc2398b1e46f3002 (diff) | |
download | edk2-platforms-dccf7678846785d23950e63c61ed8f614f89eecf.tar.xz |
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
Diffstat (limited to 'OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c')
-rw-r--r-- | OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c b/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c index 2273d829c1..a5d06249a3 100644 --- a/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c +++ b/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c @@ -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",
|