Don't cast calls to malloc().

This commit is contained in:
Anthony J. Bentley
2014-09-26 00:39:29 -06:00
parent 0d07caba60
commit 3e4350afa4
7 changed files with 18 additions and 40 deletions

View File

@@ -64,7 +64,6 @@ area_AllocAbs(struct sFreeArea ** ppArea, SLONG org, SLONG size)
struct sFreeArea *pNewArea;
if ((pNewArea =
(struct sFreeArea *)
malloc(sizeof(struct sFreeArea)))
!= NULL) {
*pNewArea = *pArea;