summaryrefslogtreecommitdiff
path: root/src/sfnt/sfobjs.c
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/sfnt/sfobjs.c
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/sfnt/sfobjs.c')
-rw-r--r--src/sfnt/sfobjs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index 22da06135..39460be2e 100644
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -546,8 +546,8 @@
/* Stream may have changed in sfnt_open_font. */
stream = face->root.stream;
- FT_TRACE2(( "sfnt_init_face: %08p (index %d)\n",
- face,
+ FT_TRACE2(( "sfnt_init_face: %p (index %d)\n",
+ (void *)face,
face_instance_index ));
face_index = FT_ABS( face_instance_index ) & 0xFFFF;
@@ -820,7 +820,7 @@
/* it doesn't contain outlines. */
/* */
- FT_TRACE2(( "sfnt_load_face: %08p\n\n", face ));
+ FT_TRACE2(( "sfnt_load_face: %p\n\n", (void *)face ));
/* do we have outlines in there? */
#ifdef FT_CONFIG_OPTION_INCREMENTAL