fix difference of style

This commit is contained in:
qiyongzhong0 2020-09-18 09:45:47 +08:00
parent 44baf269f7
commit 967cc968e8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ rt_data_queue_init(struct rt_data_queue *queue,
rt_list_init(&(queue->suspended_push_list)); rt_list_init(&(queue->suspended_push_list));
rt_list_init(&(queue->suspended_pop_list)); rt_list_init(&(queue->suspended_pop_list));
queue->queue = (struct rt_data_item *)rt_malloc(sizeof(struct rt_data_item) * size); queue->queue = (struct rt_data_item *)rt_malloc(sizeof(struct rt_data_item) * size);
if (queue->queue == RT_NULL) if (queue->queue == RT_NULL)
{ {