From e3187c579eb69335ed42c7cd7ec30000e0dc3fe1 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 9 Apr 2018 00:41:52 -0400 Subject: Use enum instead of #define for some constants --- bin/glitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/glitch.c') 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; -- cgit 1.4.1