From 2e0cd8a26115edd5ba2cfc8b798c3ba67d980ed4 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 9 Apr 2018 00:41:52 -0400 Subject: Use enum instead of #define for some constants --- bin/pngo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/pngo.c') diff --git a/bin/pngo.c b/bin/pngo.c index 0859f1d6..22837d76 100644 --- a/bin/pngo.c +++ b/bin/pngo.c @@ -358,8 +358,8 @@ enum PACKED Filter { UP, AVERAGE, PAETH, + FILTER_COUNT, }; -#define FILTER_COUNT (PAETH + 1) struct Bytes { uint8_t x; -- cgit 1.4.1