* src/type42/t42parse.c: Fix `-Wformat` warnings.

wl/meson-logging
Werner Lemberg 4 years ago
parent 33bd25ca07
commit 7691588098
  1. 4
      ChangeLog
  2. 4
      src/type42/t42parse.c

@ -1,3 +1,7 @@
2020-12-01 Werner Lemberg <wl@gnu.org>
* src/type42/t42parse.c: Fix `-Wformat` warnings.
2020-12-01 Priyesh Kumar <priyeshkkumar@gmail.com>
[builds/unix] Check for 'pthread' library.

@ -683,7 +683,7 @@
goto Fail;
}
FT_TRACE2(( " PS string size %5lu bytes, offset 0x%08x (%lu)\n",
FT_TRACE2(( " PS string size %5lu bytes, offset 0x%08lx (%lu)\n",
string_size, count, count ));
/* The whole TTF is now loaded into `string_buf'. We are */
@ -746,7 +746,7 @@
len = FT_PEEK_ULONG( p );
FT_TRACE2(( " %4i 0x%08x (%lu)\n", i, len, len ));
FT_TRACE2(( " %4i 0x%08lx (%lu)\n", i, len, len ));
if ( len > size ||
face->ttf_size > (FT_Long)( size - len ) )

Loading…
Cancel
Save