[PATCH] tools/fnt2bdf: Avoid compiler warning (-W)

Detlef Riekenberg wine.dev at web.de
Sun Nov 4 08:56:03 CST 2007


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

diff --git a/tools/fnt2bdf.c b/tools/fnt2bdf.c
index 1a14d6c..68df811 100644
--- a/tools/fnt2bdf.c
+++ b/tools/fnt2bdf.c
@@ -518,7 +518,7 @@ static int get_resource_table(int fd, un
     size -= s;
     offset = s + return_data_value(dfShort, &mz_header.e_lfanew);
 
-    if( size <= sizeof(NE_TYPEINFO) ) return FILE_ERROR;
+    if( size <= (long) sizeof(NE_TYPEINFO) ) return FILE_ERROR;
     retval = FILE_DLL;
   }
   else if( s == 0x300 || s == 0x200 )		/* maybe .fnt ? */
-- 
1.4.1


--=-dYAVAqvxNinpLtA0MA4t--




More information about the wine-patches mailing list