diff options
author | Martin Storsjö <martin@martin.st> | 2017-11-11 16:59:11 +0200 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2018-01-05 07:34:23 +0000 |
commit | f663c83f9d08f21bf6d96405456bd5864422b173 (patch) | |
tree | 2b6ef216c3439794222650100b35e36eac5e436f /src/3rdparty | |
parent | c564779c071b35fddb76f4e50afda4305b634651 (diff) |
harfbuzz: Fix building for win64 with clang
Clang errors out on casting from a pointer to a smaller integer
type.
This is an adapted backport of a newer upstream harfbuzz
commit, 03b7a221f701a9b003890878e730ad175c3fdd86.
Change-Id: I0de62d90008021aed6acf4e946ce1d346f9aac8c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/harfbuzz-ng/src/hb-private.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/hb-private.hh b/src/3rdparty/harfbuzz-ng/src/hb-private.hh index 666af6260b..b20b2ca9c0 100644 --- a/src/3rdparty/harfbuzz-ng/src/hb-private.hh +++ b/src/3rdparty/harfbuzz-ng/src/hb-private.hh @@ -684,7 +684,7 @@ _hb_debug_msg_va (const char *what, fprintf (stderr, "%-10s", what ? what : ""); if (obj) - fprintf (stderr, "(%0*lx) ", (unsigned int) (2 * sizeof (void *)), (unsigned long) obj); + fprintf (stderr, "(%*p) ", (unsigned int) (2 * sizeof (void *)), obj); else fprintf (stderr, " %*s ", (unsigned int) (2 * sizeof (void *)), ""); |