summaryrefslogtreecommitdiff
path: root/src/bdf
diff options
context:
space:
mode:
authorPriyesh Kumar <priyeshkkumar@gmail.com>2020-08-28 09:56:38 +0530
committerWerner Lemberg <wl@gnu.org>2020-12-04 16:19:42 +0100
commit6d9e6b21e5ca88b0b6dfa28ebcc86c99971bc60f (patch)
tree4ed0052ace0fd5f432c99a9d114b4bb2c260c0c5 /src/bdf
parent2a5d8e8ff8c1d831308411c61304c2feb0569ea3 (diff)
downloadfreetype2-6d9e6b21e5ca88b0b6dfa28ebcc86c99971bc60f.tar.gz
* src/*: Fix `-Wformat` warnings.
Diffstat (limited to 'src/bdf')
-rw-r--r--src/bdf/bdflib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c
index a4ddb9a1d..75ebe3f06 100644
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -185,11 +185,11 @@
"Added `FONT_ASCENT %hd'.\n"
#define ACMSG2 "FONT_DESCENT property missing. " \
"Added `FONT_DESCENT %hd'.\n"
-#define ACMSG3 "Font width != actual width. Old: %hd New: %hd.\n"
+#define ACMSG3 "Font width != actual width. Old: %d New: %d.\n"
#define ACMSG4 "Font left bearing != actual left bearing. " \
"Old: %hd New: %hd.\n"
#define ACMSG5 "Font ascent != actual ascent. Old: %hd New: %hd.\n"
-#define ACMSG6 "Font descent != actual descent. Old: %hd New: %hd.\n"
+#define ACMSG6 "Font descent != actual descent. Old: %d New: %d.\n"
#define ACMSG7 "Font height != actual height. Old: %hd New: %hd.\n"
#define ACMSG8 "Glyph scalable width (SWIDTH) adjustments made.\n"
#define ACMSG9 "SWIDTH field missing at line %ld. Set automatically.\n"