Commit 1c19f77f authored by Chris Müller's avatar Chris Müller
Browse files

Fix allocation problem with struct Queue*.

parent 83582888
......@@ -22,7 +22,7 @@ struct Queue {
struct CryQueue*
cry_queue_new(void)
{
struct Queue* list = cry_malloc(struct Queue*);
struct Queue* list = cry_malloc(struct Queue);
list->front = 0;
list->tail = 0;
return cry_cast(struct CryQueue*, list);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment