Dmitry Timoshkov : tools: Fix font structure layout for 64-bit mode.

Alexandre Julliard julliard at winehq.org
Fri Apr 11 06:28:23 CDT 2008


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Fri Apr 11 16:56:33 2008 +0900

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;
 };




More information about the wine-cvs mailing list