diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | snesgfx.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ snesgfx: snesgfx.c - c99 -g -o snesgfx snesgfx.c -lpng + c99 -I/usr/local/include -L/usr/local/lib -g -o snesgfx snesgfx.c -lpng clean: rm -f snesgfx core @@ -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; |