summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--2020/day14.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/2020/day14.c b/2020/day14.c
index a40bb3f..638ca35 100644
--- a/2020/day14.c
+++ b/2020/day14.c
@@ -16,7 +16,7 @@ static void write(ul addr, ul val) {
 	writes[len].addr = addr;
 	writes[len++].val = val;
 }
-static struct Write writes2[0xFFFFFFFFF];
+static struct Write writes2[512 * (1 << 9)];
 static ul len2;
 static void write2(ul addr, ul val) {
 	for (int i = 0; i < len2; ++i) {