summaryrefslogtreecommitdiff
path: root/OvmfPkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/Library')
-rw-r--r--OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c4
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",