summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index f8a4dcf..23f98a0 100644
--- a/ui.c
+++ b/ui.c
@@ -85,7 +85,7 @@ struct Buffer {
 	size_t len;
 	struct Line lines[BufferCap];
 };
-static_assert(!(BufferCap & (BufferCap - 1)), "BufferCap is power of two");
+_Static_assert(!(BufferCap & (BufferCap - 1)), "BufferCap is power of two");
 
 static void bufferPush(
 	struct Buffer *buffer, enum Heat heat, time_t time, const char *str