diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2020-09-28 10:20:26 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2020-09-28 12:38:19 +0100 |
commit | cd36db788b73674e9a18803f451ed910ddd66dba (patch) | |
tree | 0502ad4fa3545b13d7f917ae1b321d547a7f8a0a | |
parent | 787be772d87089ee8224b17ba50ac4adccc75ffe (diff) | |
download | ghostpdl-cd36db788b73674e9a18803f451ed910ddd66dba.tar.gz |
Fix some casting confusion for special glyph CID/index values
And a whitespace/indentation issue.
Noticed in passing....
-rw-r--r-- | base/gsccode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/gsccode.h b/base/gsccode.h index 9ed3aa786..e0bb5f9fb 100644 --- a/base/gsccode.h +++ b/base/gsccode.h @@ -79,9 +79,9 @@ typedef uint64_t gs_glyph; #define GS_NO_GLYPH ((gs_glyph)0x7fffffff) -# define GS_MIN_CID_GLYPH ((gs_glyph)0x80000000L) +#define GS_MIN_CID_GLYPH ((gs_glyph)0x80000000) -#define GS_MIN_GLYPH_INDEX (GS_MIN_CID_GLYPH | (GS_MIN_CID_GLYPH >> 1)) +#define GS_MIN_GLYPH_INDEX (gs_glyph)(GS_MIN_CID_GLYPH | (GS_MIN_CID_GLYPH >> 1)) #define GS_GLYPH_TAG (gs_glyph)(GS_MIN_CID_GLYPH | GS_MIN_GLYPH_INDEX) #define GS_MAX_GLYPH max_ulong |