[PATCH] qbsp: Remove unnecessary cast of malloc return value
Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
parent
dc9b279203
commit
b550faf877
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue