Commit 92db149e9cc4830354071d57265a56bfb4bf8f02

Werner Lemberg 2020-12-02T07:54:21

* src/bdf/bdflib.c: Fix `-Wformat` warning.

diff --git a/ChangeLog b/ChangeLog
index 3f17cf0..76d7524 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2020-12-02  Werner Lemberg  <wl@gnu.org>
 
+	* src/bdf/bdflib.c: Fix `-Wformat` warning.
+
+2020-12-02  Werner Lemberg  <wl@gnu.org>
+
 	Improve setup for 'dlg' library.
 
 	* autogen.sh (copy_submodule_file), builds/toplevel.mk: Redirect
diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c
index 75ebe3f..b494a09 100644
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -190,7 +190,7 @@
                  "Old: %hd New: %hd.\n"
 #define ACMSG5   "Font ascent != actual ascent.  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 ACMSG7   "Font height != actual height. Old: %d New: %d.\n"
 #define ACMSG8   "Glyph scalable width (SWIDTH) adjustments made.\n"
 #define ACMSG9   "SWIDTH field missing at line %ld.  Set automatically.\n"
 #define ACMSG10  "DWIDTH field missing at line %ld.  Set to glyph width.\n"