]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix the cast issue
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 Sep 2007 10:11:36 +0000 (10:11 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 Sep 2007 10:11:36 +0000 (10:11 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3972 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Pei/Image/Image.c

index bf7f6e5ae0a07fa5f501ec5681e4065a3bc738f0..c13a869d2c62648abe80d5ea6586d95e7034d781 100644 (file)
@@ -403,7 +403,7 @@ Returns:
     AsciiString = PeCoffLoaderGetPdbPointer (Pe32Data);\r
     \r
     if (AsciiString != NULL) {\r
-      for (Index = AsciiStrLen (AsciiString) - 1; Index >= 0; Index --) {\r
+      for (Index = (INT32) AsciiStrLen (AsciiString) - 1; Index >= 0; Index --) {\r
         if (AsciiString[Index] == '\\') {\r
           break;\r
         }\r