From b9481b72bb8288909165a4452ac2a9478c5437af Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 12 Sep 2018 14:01:42 +0000 Subject: Changes to compile on FreeBSD. --- snesgfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'snesgfx.c') diff --git a/snesgfx.c b/snesgfx.c index 3c59ed8..d19e5bb 100644 --- a/snesgfx.c +++ b/snesgfx.c @@ -195,7 +195,7 @@ int main(int argc, char *argv[]) int colours = 4; char *source = NULL; char *dest = NULL; - char header[8] = {0}; + unsigned char header[8] = {0}; FILE *input; FILE *output; png_structp png; -- cgit v1.2.3