diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-08-24 08:49:38 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-08-24 08:49:38 +0000 |
commit | 186bbd00ffa404c29caaeeeee89437c127e95df7 (patch) | |
tree | 1adffc6952f6d43b9ecd8002064da7189fbeae5d /Build/source/texk/dvipdfm-x/sfnt.h | |
parent | 90e1eb12c7fa4c597d0b72e1a8af3186110e2bb2 (diff) |
texk/dvipdfm-x: No reason to use 'long' for 32-bit integers
git-svn-id: svn://tug.org/texlive/trunk@38194 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/sfnt.h')
-rw-r--r-- | Build/source/texk/dvipdfm-x/sfnt.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/dvipdfm-x/sfnt.h b/Build/source/texk/dvipdfm-x/sfnt.h index 69271a229cd..30911d0b83b 100644 --- a/Build/source/texk/dvipdfm-x/sfnt.h +++ b/Build/source/texk/dvipdfm-x/sfnt.h @@ -25,21 +25,21 @@ #include "numbers.h" #include "pdfobj.h" -/* Acoid conflict with CHAR from <winnt.h>. */ +/* Acoid conflict with CHAR ... from <winnt.h>. */ #define CHAR SFNT_CHAR +#define ULONG SFNT_ULONG +#define LONG SFNT_LONG /* Data Types as described in Apple's TTRefMan */ typedef unsigned char BYTE; typedef signed char CHAR; typedef unsigned short USHORT; typedef signed short SHORT; -typedef unsigned long ULONG; -typedef signed long LONG; -typedef unsigned long Fixed; /* 16.16-bit signed fixed-point number */ +typedef uint32_t ULONG; +typedef int32_t LONG; +typedef uint32_t Fixed; /* 16.16-bit signed fixed-point number */ typedef short FWord; typedef unsigned short uFWord; -typedef short F2Dot14; /* 16-bit signed fixed number with the low - 14 bits representing fraction. */ struct sfnt_table { |