diff --git a/app/src/queue.h b/app/src/queue.h index 294823da..229ddb87 100644 --- a/app/src/queue.h +++ b/app/src/queue.h @@ -13,7 +13,7 @@ } #define queue_init(PQ) \ - (void) ((PQ)->first = NULL) + (void) ((PQ)->first = (PQ)->last = NULL) #define queue_is_empty(PQ) \ !(PQ)->first