summary refs log tree commit diff
path: root/bin/glitch.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-04-09 00:41:52 -0400
committerJune McEnroe <june@causal.agency>2018-04-09 00:41:52 -0400
commite3187c579eb69335ed42c7cd7ec30000e0dc3fe1 (patch)
treeff89477fde29bbc276f9e8b920f1d6f356ac6559 /bin/glitch.c
parentstatic_assert PNG header size in pngo and glitch (diff)
downloadsrc-e3187c579eb69335ed42c7cd7ec30000e0dc3fe1.tar.gz
src-e3187c579eb69335ed42c7cd7ec30000e0dc3fe1.zip
Use enum instead of #define for some constants
Diffstat (limited to 'bin/glitch.c')
-rw-r--r--bin/glitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/glitch.c b/bin/glitch.c
index 3a3bfde5..98be3b82 100644
--- a/bin/glitch.c
+++ b/bin/glitch.c
@@ -261,8 +261,8 @@ enum PACKED Filter {
     UP,
     AVERAGE,
     PAETH,
+    FILTER_COUNT,
 };
-#define FILTER_COUNT (PAETH + 1)
 
 static struct {
     bool brokenPaeth;