]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VolInfo/VolInfo.c
BaseTools/VolInfo: Fix VS2010/VS2012 build failure
[mirror_edk2.git] / BaseTools / Source / C / VolInfo / VolInfo.c
index 2647cbb73a176c04b605f52ab661df272fa29438..eff5f9ebfc436faf417b6cedd6b0293be2237dcc 100644 (file)
@@ -1590,9 +1590,11 @@ CombinePath (
 )\r
 {\r
   UINT32 DefaultPathLen;\r
+  UINT64 Index;\r
+\r
   DefaultPathLen = strlen(DefaultPath);\r
   strcpy(NewPath, DefaultPath);\r
-  UINT64 Index = 0;\r
+  Index = 0;\r
   for (; Index < DefaultPathLen; Index ++) {\r
     if (NewPath[Index] == '\\' || NewPath[Index] == '/') {\r
       if (NewPath[Index + 1] != '\0') {\r