fix clang allocator size mistmatch (by casting - clang is wrong)

This commit is contained in:
Carsten Haitzler 2013-07-16 19:24:00 +09:00
parent dd939bf587
commit 0d83feaa79
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ rect_list_node_pool_get(void)
return node;
}
else return malloc(sizeof(rect_node_t));
else return (list_node_t *)malloc(sizeof(rect_node_t));
}
static inline void