From 4ed9fb1a0050f3151f9332f08c8bb2c13652c607 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 25 Nov 2018 15:51:01 -0500 Subject: [PATCH] [GDEF] Minor --- src/hb-ot-layout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 9488fe82c..3cc1ef137 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -117,7 +117,7 @@ _hb_ot_blacklist_gdef (unsigned int gdef_len, * https://bugzilla.mozilla.org/show_bug.cgi?id=1279693 * https://bugzilla.mozilla.org/show_bug.cgi?id=1279875 */ -#define ENCODE(x,y,z) ((int64_t) (x) << 32 | (int64_t) (y) << 16 | (z)) +#define ENCODE(x,y,z) (((uint64_t) (x) << 48) | ((uint64_t) (y) << 24) | (uint64_t) (z)) switch ENCODE(gdef_len, gsub_len, gpos_len) { /* sha1sum:c5ee92f0bca4bfb7d06c4d03e8cf9f9cf75d2e8a Windows 7? timesi.ttf */