From c87ee72232416099a73b563ca7aaf293b1c87b2a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 19 Dec 2018 22:28:16 -0500 Subject: [PATCH] Minor [skip ci] --- src/hb-dsalgs.hh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/hb-dsalgs.hh b/src/hb-dsalgs.hh index e7226d9ba..48ce9897d 100644 --- a/src/hb-dsalgs.hh +++ b/src/hb-dsalgs.hh @@ -305,13 +305,14 @@ template <> struct hb_is_signed { enum { value = false }; }; template <> struct hb_is_signed { enum { value = false }; }; template <> struct hb_is_signed { enum { value = false }; }; template <> struct hb_is_signed { enum { value = false }; }; - -/* We need to define hb_is_signed for the typedefs we use on pre-Visual Studio 2010 - * for the int8_t type, since __int8/__int64 is not considered the same as char/long. - * The previous lines will suffice for the other types, though. Note that somehow, - * usigned __int8 is considered equal to unsigned char. +/* We need to define hb_is_signed for the typedefs we use on pre-Visual + * Studio 2010 for the int8_t type, since __int8/__int64 is not considered + * the same as char/long. The previous lines will suffice for the other + * types, though. Note that somehow, unsigned __int8 is considered same + * as unsigned char. + * https://github.com/harfbuzz/harfbuzz/pull/1499 */ -#if defined (_MSC_VER) && (_MSC_VER < 1600) +#if defined(_MSC_VER) && (_MSC_VER < 1600) template <> struct hb_is_signed<__int8> { enum { value = true }; }; #endif