From 703bc84aec3af98807dd704a306f5d6ce1129a67 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 5 May 2018 00:07:39 +0300 Subject: [PATCH] Fix incorrect pointer initialization --- ttf2png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttf2png.c b/ttf2png.c index 0a66de2..3ab2bf2 100644 --- a/ttf2png.c +++ b/ttf2png.c @@ -1082,7 +1082,7 @@ int save_png(const char *fn, const Image *image, char alpha) png_info *pngi; png_byte **rows; unsigned i; - png_byte *data2 = 0; + png_byte *data2 = NULL; int color; if(!strcmp(fn, "-")) -- 2.45.2