Francois Gouget : fnt2bdf: Remove unneeded casts of zero.

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:08 CST 2008


Module: wine
Branch: master
Commit: a70fbaeec70467f39f64a92f6bb2ee2dfa518ed6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a70fbaeec70467f39f64a92f6bb2ee2dfa518ed6

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  8 09:25:18 2008 +0100

fnt2bdf: Remove unneeded casts of zero.

---

 tools/fnt2bdf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/fnt2bdf.c b/tools/fnt2bdf.c
index f204720..e6a53fa 100644
--- a/tools/fnt2bdf.c
+++ b/tools/fnt2bdf.c
@@ -209,7 +209,7 @@ static int dump_bdf( fnt_fontS* cpe_font_struct, unsigned char* file_buffer)
     if( (ic = make_bdf_filename(l_filename, cpe_font_struct, file_buffer)) )
 	return ic;
 
-    if((fp = fopen(l_filename, "w")) == (FILE *) 0)
+    if((fp = fopen(l_filename, "w")) == NULL)
     {
       fprintf(stderr, "Couldn't open \"%s\" for output.\n", l_filename);
       return ERROR_FILE;




More information about the wine-cvs mailing list