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

wl/meson-logging
Alexei Podtelezhnikov 4 years ago
parent 82d331556c
commit a93f50b611
  1. 4
      ChangeLog
  2. 8
      src/sfnt/sfwoff2.c

@ -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.

@ -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;

Loading…
Cancel
Save