Description: C++17 compatibility Use unsigned char to avoid collision with std::byte Bug-Debian: https://bugs.debian.org/984316 Forwarded: no Author: Graham Inggs Last-Update: 2021-10-04 --- a/src/pngSave.cpp +++ b/src/pngSave.cpp @@ -19,10 +19,8 @@ #include "progress.h" -typedef unsigned char byte; - -void downsample2x2(byte * data, int sx, int sy){ +void downsample2x2(unsigned char *data, int sx, int sy){ int j=0; for (int y=0; y