[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Nov 22 06:54:02 UTC 2018
src/hb-null.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eeed802b1d0f932c61a088d3e0156ae70645b9e2
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Nov 22 01:53:36 2018 -0500
Fix spurious gcc warnings
../../src/hb-null.hh:53:39: warning: enum constant in boolean context [-Wint-in-bool-context]
diff --git a/src/hb-null.hh b/src/hb-null.hh
index 166d2089..b87775b6 100644
--- a/src/hb-null.hh
+++ b/src/hb-null.hh
@@ -50,7 +50,7 @@ template <typename T, typename B>
struct _hb_null_size
{ enum { value = sizeof (T) }; };
template <typename T>
-struct _hb_null_size<T, _hb_bool_type<(bool) T::min_size> >
+struct _hb_null_size<T, _hb_bool_type<(bool) (int) T::min_size> >
{ enum { value = T::null_size }; };
template <typename T>
More information about the HarfBuzz
mailing list