diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-02-24 14:00:04 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-02-24 14:00:04 -0500 |
commit | 9d46ddf6c1327f2696c56e7c29f0e3b4ed0763c2 (patch) | |
tree | cb7653b580fd3b2d1ea6e213f94357f92c4c3a3d /core | |
parent | 4b337799480c64e8db5b2bc50cea876d3789b989 (diff) | |
download | pdfium-9d46ddf6c1327f2696c56e7c29f0e3b4ed0763c2.tar.xz |
Use stdint types for FX_WORD and FX_DWORD.
This Cl changes the definition of FX_WORD and FX_DWORD to use the stdint
types. This will allow changing the uses on a directory basis to the
stdint types.
R=thestig@chromium.org, tsepez@chromium.org
Review URL: https://codereview.chromium.org/1727203002 .
Diffstat (limited to 'core')
-rw-r--r-- | core/include/fxcrt/fx_system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h index 8471610864..e28099ed4a 100644 --- a/core/include/fxcrt/fx_system.h +++ b/core/include/fxcrt/fx_system.h @@ -68,8 +68,8 @@ extern "C" { #endif typedef void* FX_POSITION; // Keep until fxcrt containers gone -typedef unsigned short FX_WORD; // Keep - "an efficient small type" -typedef unsigned int FX_DWORD; // Keep - "an efficient type" +typedef uint16_t FX_WORD; // Keep - "an efficient small type" +typedef uint32_t FX_DWORD; // Keep - "an efficient type" typedef float FX_FLOAT; // Keep, allow upgrade to doubles. typedef double FX_DOUBLE; // Keep, allow downgrade to floats. typedef int FX_BOOL; // Keep, sadly not always 0 or 1. |