]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenVtf/GenVtf.c
BaseTools/GenSec: Fix potential memory leak
[mirror_edk2.git] / BaseTools / Source / C / GenVtf / GenVtf.c
index b68d86a97eb935a16760237d0cb83e2a0378a245..006822a79b08fd63ff0b55587a15edaf89910afc 100644 (file)
@@ -112,8 +112,8 @@ Returns:
 --*/\r
 {\r
   CHAR8  TemStr[5] = "0000";\r
-  unsigned Major;\r
-  unsigned Minor;\r
+  int    Major;\r
+  int    Minor;\r
   UINTN Length;\r
 \r
   Major = 0;\r