]> granicus.if.org Git - graphviz/commitdiff
replace "(char*)0" with "NULL"
authorellson <devnull@localhost>
Thu, 23 Oct 2008 01:49:26 +0000 (01:49 +0000)
committerellson <devnull@localhost>
Thu, 23 Oct 2008 01:49:26 +0000 (01:49 +0000)
lib/gd/gdft.c

index 16027dcdef329b335504935e5cc5c2d4c50e0ee0..12d699bd3882154764ca82795ac64e8e5e5e9dc1 100644 (file)
@@ -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);