summaryrefslogtreecommitdiff
path: root/src/type42
diff options
context:
space:
mode:
authorPriyesh Kumar <priyeshkkumar@gmail.com>2020-07-28 07:33:40 +0200
committerWerner Lemberg <wl@gnu.org>2020-07-28 07:33:40 +0200
commit53be1753dea9bd3e586f3e6f3ffc55b31080d450 (patch)
tree7d0fe84205091ee15a7650e921639d7547e6cf2a /src/type42
parent8cfc41ae955d99ff49214deea731527bbb8035f0 (diff)
downloadfreetype2-53be1753dea9bd3e586f3e6f3ffc55b31080d450.tar.gz
Fix `-Wformat' compiler warnings.
* src/*: Fix format specifiers. * builds/unix/ftsystem.c (FT_Stream_Open): Ditto.
Diffstat (limited to 'src/type42')
-rw-r--r--src/type42/t42parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type42/t42parse.c b/src/type42/t42parse.c
index 75c07dc68..98507699f 100644
--- a/src/type42/t42parse.c
+++ b/src/type42/t42parse.c
@@ -826,7 +826,7 @@
if ( loader->num_glyphs > ( limit - parser->root.cursor ) >> 2 )
{
FT_TRACE0(( "t42_parse_charstrings: adjusting number of glyphs"
- " (from %d to %d)\n",
+ " (from %d to %ld)\n",
loader->num_glyphs,
( limit - parser->root.cursor ) >> 2 ));
loader->num_glyphs = ( limit - parser->root.cursor ) >> 2;