Commit 4908c1e84d1a69015fd4313eb2b78cf59a9c83ca

Werner Lemberg 2023-04-28T06:54:25

* src/cid/cidgload.c (cid_load_glyph): Fix compiler warnings.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/src/cid/cidgload.c b/src/cid/cidgload.c
index 66e2983..f4fe582 100644
--- a/src/cid/cidgload.c
+++ b/src/cid/cidgload.c
@@ -129,14 +129,14 @@
              (cid->fd_bytes == 2 && fd_select == 0xFFFFU ) )
         {
           FT_TRACE1(( "cid_load_glyph: fail for glyph_index=%d, "
-                      "FD number %d is the max integer fitting into %d byte%s\n",
+                      "FD number %ld is the max integer fitting into %d byte%s\n",
                       glyph_index, fd_select, cid->fd_bytes,
                       cid->fd_bytes == 1 ? "" : "s" ));
         }
         else
         {
           FT_TRACE0(( "cid_load_glyph: fail for glyph_index=%d, "
-                      "FD number %d > number of dicts %d\n",
+                      "FD number %ld > number of dicts %d\n",
                       glyph_index, fd_select, cid->num_dicts ));
         }
         error = FT_THROW( Invalid_Offset );