diff --git a/ChangeLog b/ChangeLog index b8bf2e412..80185f9af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-08-25 Werner Lemberg + + [autofit] Typo. + + * src/autofit/afblue.hin, src/autofit/afblue.c (GET_UTF8_CHAR): Use + cast. + 2013-08-25 Werner Lemberg [autofit] Synchronize `cjk' with `latin' module (and vice versa). diff --git a/src/autofit/afblue.h b/src/autofit/afblue.h index 0699ae456..3bb505c11 100644 --- a/src/autofit/afblue.h +++ b/src/autofit/afblue.h @@ -29,7 +29,7 @@ FT_BEGIN_HEADER /* an auxiliary macro to decode a UTF-8 character -- since we only use */ /* hard-coded, self-converted data, no error checking is performed */ #define GET_UTF8_CHAR( ch, p ) \ - ch = *p++; \ + ch = (unsigned char)*p++; \ if ( ch >= 0x80 ) \ { \ FT_UInt len; \ diff --git a/src/autofit/afblue.hin b/src/autofit/afblue.hin index 071e7d97d..424ca7e93 100644 --- a/src/autofit/afblue.hin +++ b/src/autofit/afblue.hin @@ -26,7 +26,7 @@ FT_BEGIN_HEADER /* an auxiliary macro to decode a UTF-8 character -- since we only use */ /* hard-coded, self-converted data, no error checking is performed */ #define GET_UTF8_CHAR( ch, p ) \ - ch = *p++; \ + ch = (unsigned char)*p++; \ if ( ch >= 0x80 ) \ { \ FT_UInt len; \