summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-28 10:11:36 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-28 10:11:36 +0000
commit19ea58a1fd9a67263e654c4ef478d49065c3158e (patch)
treecc3438d6ce86a8d646b344b9e181f36966e6f62b /MdeModulePkg
parentb9f020e9f985d9f3e10830177b0c82e033ae4ae3 (diff)
downloadedk2-platforms-19ea58a1fd9a67263e654c4ef478d49065c3158e.tar.xz
Fix the cast issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3972 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/Pei/Image/Image.c2
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;
}