[PATCH] qbsp: Remove unnecessary cast of malloc return value

Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
Tyrann 2006-09-16 16:31:06 +09:30
parent dc9b279203
commit b550faf877
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ LinkConvexFaces(surface_t *planelist, node_t *leafnode)
// write the list of faces, and free the originals
leaffaces += count;
leafnode->markfaces = (face_t **)malloc(sizeof(face_t *) * (count + 1)); /* FIXME */
leafnode->markfaces = malloc(sizeof(face_t *) * (count + 1)); /* FIXME */
i = 0;
for (surf = planelist; surf; surf = pnext) {