Remove (probably useless) typecast to avoid error message from GCC

This commit is contained in:
David Baer
2018-09-08 23:14:04 -04:00
parent ec5275ab88
commit ddee2d2702

View File

@@ -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) { \