summary refs log tree commit diff
path: root/bin/glitch.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/glitch.c')
-rw-r--r--bin/glitch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/glitch.c b/bin/glitch.c
index 035dcde5..3d8bc8f7 100644
--- a/bin/glitch.c
+++ b/bin/glitch.c
@@ -15,7 +15,6 @@
  */
 
 #include <arpa/inet.h>
-#include <assert.h>
 #include <err.h>
 #include <stdbool.h>
 #include <stdint.h>
@@ -125,7 +124,7 @@ static struct PACKED {
 	uint8_t filter;
 	uint8_t interlace;
 } header;
-static_assert(13 == sizeof(header), "header size");
+_Static_assert(13 == sizeof(header), "header size");
 
 static size_t pixelBits(void) {
 	switch (header.color) {