diff options
-rw-r--r-- | MdeModulePkg/Core/Pei/Image/Image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c index bf7f6e5ae0..c13a869d2c 100644 --- a/MdeModulePkg/Core/Pei/Image/Image.c +++ b/MdeModulePkg/Core/Pei/Image/Image.c @@ -403,7 +403,7 @@ Returns: AsciiString = PeCoffLoaderGetPdbPointer (Pe32Data);
if (AsciiString != NULL) {
- for (Index = AsciiStrLen (AsciiString) - 1; Index >= 0; Index --) {
+ for (Index = (INT32) AsciiStrLen (AsciiString) - 1; Index >= 0; Index --) {
if (AsciiString[Index] == '\\') {
break;
}
|