Remove (probably useless) typecast to avoid error message from GCC
This commit is contained in:
@@ -69,7 +69,7 @@ typedef struct { \
|
|||||||
} N
|
} N
|
||||||
|
|
||||||
#define NEW_QUEUE(T, N) \
|
#define NEW_QUEUE(T, N) \
|
||||||
T N = (T) { .length = 0, .head = NULL, .tail = NULL }
|
T N = { .length = 0, .head = NULL, .tail = NULL }
|
||||||
|
|
||||||
/* WARNING: this is probably not what you want -- see DESTROY_QUEUE below */
|
/* WARNING: this is probably not what you want -- see DESTROY_QUEUE below */
|
||||||
#define REINIT_QUEUE(N) { \
|
#define REINIT_QUEUE(N) { \
|
||||||
|
|||||||
Reference in New Issue
Block a user