aboutsummaryrefslogtreecommitdiff
path: root/Application/EfiDSEFix
diff options
context:
space:
mode:
authorMatthijs Lavrijsen <mattiwatti@gmail.com>2022-08-17 07:55:38 +0200
committerMatthijs Lavrijsen <mattiwatti@gmail.com>2022-08-17 08:00:41 +0200
commitf7f83efed4fc37077f9381e821e4454d35278495 (patch)
tree2a91eaf90232e42766178a39244fa08c2460be8f /Application/EfiDSEFix
parent6ef2473bc64dbde337fa4c475acd1c3a3fa788d1 (diff)
Misc. warning fixes
Diffstat (limited to 'Application/EfiDSEFix')
-rw-r--r--Application/EfiDSEFix/src/pe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Application/EfiDSEFix/src/pe.cpp b/Application/EfiDSEFix/src/pe.cpp
index 97d2333..78c5a8e 100644
--- a/Application/EfiDSEFix/src/pe.cpp
+++ b/Application/EfiDSEFix/src/pe.cpp
@@ -167,7 +167,7 @@ GetProcedureAddress(
// Look up the import name in the name table using a binary search
LONG Low = 0;
LONG Middle = 0;
- LONG High = ExportDirectory->NumberOfNames - 1;
+ LONG High = static_cast<LONG>(ExportDirectory->NumberOfNames) - 1;
while (High >= Low)
{