diff options
author | Werner Lemberg <wl@gnu.org> | 2020-12-01 15:43:11 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2020-12-04 16:19:42 +0100 |
commit | 7691588098b9345278a74ee099864cad4ff0e390 (patch) | |
tree | d217edd9d3cf9a39c6dc48be5cfde12ab882ae45 | |
parent | 33bd25ca0764b2df5b2c8fc97343992b19a2e604 (diff) | |
download | freetype2-7691588098b9345278a74ee099864cad4ff0e390.tar.gz |
* src/type42/t42parse.c: Fix `-Wformat` warnings.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/type42/t42parse.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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. diff --git a/src/type42/t42parse.c b/src/type42/t42parse.c index 88877dd26..d9a5e4c1c 100644 --- a/src/type42/t42parse.c +++ b/src/type42/t42parse.c @@ -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 ) ) |