From ddee2d2702d84c746f6ead61d99fea04421224d0 Mon Sep 17 00:00:00 2001 From: David Baer Date: Sat, 8 Sep 2018 23:14:04 -0400 Subject: [PATCH] Remove (probably useless) typecast to avoid error message from GCC --- src/queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { \