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