diff options
author | June McEnroe <june@causal.agency> | 2018-04-08 15:44:35 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-04-08 15:45:52 -0400 |
commit | 0dd5e316338f992984c7ac77ce9b2657a77ece7b (patch) | |
tree | 35a0a79bfeb9e8a0a68764cdc2b5824ff3639d98 /bin/glitch.c | |
parent | Sleep in watch when a file is deleted (diff) | |
download | src-0dd5e316338f992984c7ac77ce9b2657a77ece7b.tar.gz src-0dd5e316338f992984c7ac77ce9b2657a77ece7b.zip |
static_assert PNG header size in pngo and glitch
Diffstat (limited to '')
-rw-r--r-- | bin/glitch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/glitch.c b/bin/glitch.c index ea9c083d..3a3bfde5 100644 --- a/bin/glitch.c +++ b/bin/glitch.c @@ -127,6 +127,7 @@ static struct PACKED { uint8_t filter; uint8_t interlace; } header; +static_assert(13 == sizeof(header), "header size"); static size_t lineSize(void) { switch (header.color) { |