]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/TianoTools/Strip/Strip.c
1. Removed the unnecessary #include statements and include files
[mirror_edk2.git] / Tools / Source / TianoTools / Strip / Strip.c
index 567b526568751afaefe77b325291022c1f78e378..b1538076d117cd6ad11cc18964f39ccc5c173aab 100644 (file)
@@ -82,7 +82,7 @@ Returns:
 \r
   fseek (InFile, 0, SEEK_SET);\r
 \r
-  Buffer = malloc (FileSize);\r
+  Buffer = (char *) malloc (FileSize);\r
   if (Buffer == NULL) {\r
     printf ("Error: Out of resources.\n");\r
     return -1;\r