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
/* 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
// 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