diff --git a/src/hb-common.cc b/src/hb-common.cc index fb6377e39..9035755a4 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc @@ -70,7 +70,7 @@ _hb_options_init () p = c + strlen (c); #define OPTION(name, symbol) \ - if (0 == strncmp (c, name, p - c) && strlen (name) == p - c) do { u.opts.symbol = true; } while (0) + if (0 == strncmp (c, name, p - c) && strlen (name) == static_cast(p - c)) do { u.opts.symbol = true; } while (0) OPTION ("uniscribe-bug-compatible", uniscribe_bug_compatible); OPTION ("aat", aat);