* src/sfnt/sfwoff2.c (Read255UShort): Tweak types to please VC++.

This commit is contained in:
Alexei Podtelezhnikov 2020-10-17 21:58:50 -04:00
parent 82d331556c
commit a93f50b611
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2020-10-17 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/sfnt/sfwoff2.c (Read255UShort): Tweak types to please VC++.
2020-10-10 Werner Lemberg <wl@gnu.org>
* Version 2.10.3 released.

View File

@ -125,10 +125,10 @@
Read255UShort( FT_Stream stream,
FT_UShort* value )
{
static const FT_Int oneMoreByteCode1 = 255;
static const FT_Int oneMoreByteCode2 = 254;
static const FT_Int wordCode = 253;
static const FT_Int lowestUCode = 253;
const FT_Byte oneMoreByteCode1 = 255;
const FT_Byte oneMoreByteCode2 = 254;
const FT_Byte wordCode = 253;
const FT_UShort lowestUCode = 253;
FT_Error error = FT_Err_Ok;
FT_Byte code;