]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/SysCall/BaseMemAllocation.c
Fix some typo and coding style issues in BaseCryptLib instances.
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SysCall / BaseMemAllocation.c
index 68bc25aba65c571df23530559c9988f831a66946..544f07215b8f1b5dbdd89a1a233b822cf3634aae 100644 (file)
@@ -2,7 +2,7 @@
   Base Memory Allocation Routines Wrapper for Crypto library over OpenSSL\r
   during PEI & DXE phases.\r
 \r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /* Allocates memory blocks */\r
 void *malloc (size_t size)\r
 {\r
-  return AllocatePool ((UINTN)size);\r
+  return AllocatePool ((UINTN) size);\r
 }\r
 \r
 /* Reallocate memory blocks */\r
@@ -32,7 +32,7 @@ void *realloc (void *ptr, size_t size)
   // BUG: hardcode OldSize == size! We have no any knowledge about\r
   // memory size of original pointer ptr.\r
   //\r
-  return ReallocatePool ((UINTN)size, (UINTN)size, ptr);\r
+  return ReallocatePool ((UINTN) size, (UINTN) size, ptr);\r
 }\r
 \r
 /* De-allocates or frees a memory block */\r