From a8d8999fa154aa4f46d39873787eb38e69db214c Mon Sep 17 00:00:00 2001 From: Kranklyboy Date: Thu, 7 Jun 2018 12:30:17 +0200 Subject: [PATCH] Allow one more int for separating solutions in shared memory --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.h b/common.h index 874f2d7..31a0014 100644 --- a/common.h +++ b/common.h @@ -40,7 +40,7 @@ struct circ_buf { int quit; int head; int tail; - int data[MAX_ITEMS]; + int data[MAX_ITEMS+1]; }; #endif /* ifndef COMMON_H */