From a33e0fa6157addd791f47befac9b93d50ceac434 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 23 Oct 2008 01:49:26 +0000 Subject: [PATCH] replace "(char*)0" with "NULL" --- lib/gd/gdft.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/gd/gdft.c b/lib/gd/gdft.c index 16027dcde..12d699bd3 100644 --- a/lib/gd/gdft.c +++ b/lib/gd/gdft.c @@ -1483,8 +1483,7 @@ static char* find_postscript_font(FcPattern **fontpattern, char* fontname) FcPattern* pattern = FcPatternBuild(0, FC_FAMILY, FcTypeString, postscript_alias[i].family, - FC_STYLE, FcTypeString, postscript_alias[i].style, - (char*)0); + FC_STYLE, FcTypeString, postscript_alias[i].style, NULL); font = find_font(pattern); FcPatternDestroy(pattern); -- 2.40.0