diff --git a/src/queue.h b/src/queue.h index f4b706c..a79f307 100644 --- a/src/queue.h +++ b/src/queue.h @@ -69,7 +69,7 @@ typedef struct { \ } 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 */ #define REINIT_QUEUE(N) { \