diff options
author | June McEnroe <june@causal.agency> | 2018-04-09 00:41:52 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-04-09 00:41:52 -0400 |
commit | e3187c579eb69335ed42c7cd7ec30000e0dc3fe1 (patch) | |
tree | ff89477fde29bbc276f9e8b920f1d6f356ac6559 /bin/pngo.c | |
parent | static_assert PNG header size in pngo and glitch (diff) | |
download | src-e3187c579eb69335ed42c7cd7ec30000e0dc3fe1.tar.gz src-e3187c579eb69335ed42c7cd7ec30000e0dc3fe1.zip |
Use enum instead of #define for some constants
Diffstat (limited to 'bin/pngo.c')
-rw-r--r-- | bin/pngo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pngo.c b/bin/pngo.c index eada7e01..286c7e4a 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; |