tools: Fix font structure layout for 64-bit mode

Dmitry Timoshkov dmitry at codeweavers.com
Fri Apr 11 02:56:33 CDT 2008


Hello,

Changelog:
    tools: Fix font structure layout for 64-bit mode.
---
 tools/fnt2bdf.h |    4 ++--
 tools/fnt2fon.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/fnt2bdf.h b/tools/fnt2bdf.h
index 3dc2590..27eafe5 100644
--- a/tools/fnt2bdf.h
+++ b/tools/fnt2bdf.h
@@ -30,8 +30,8 @@ enum data_types {dfChar, dfShort, dfLong, dfString};
 
 typedef struct tagFontHeader
 {
-    short dfVersion;		/* Version */
-    long dfSize;		/* Total File Size */
+    SHORT dfVersion;		/* Version */
+    LONG dfSize;		/* Total File Size */
     char dfCopyright[60];	/* Copyright notice */
     FONTINFO16 fi;		/* FONTINFO structure */
 } fnt_hdrS;
diff --git a/tools/fnt2fon.c b/tools/fnt2fon.c
index 87c5ab7..aa7d72b 100644
--- a/tools/fnt2fon.c
+++ b/tools/fnt2fon.c
@@ -40,8 +40,8 @@
 #include "pshpack1.h"
 struct _fnt_header
 {
-    short dfVersion;
-    long dfSize;
+    SHORT dfVersion;
+    LONG dfSize;
     char dfCopyright[60];
     FONTINFO16 fi;
 };
-- 
1.5.4.5






More information about the wine-patches mailing list