freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] logging 2bb8a9b 18/21: * src/bdf/bdflib.c: Fix `-Wformat` wa


From: Werner LEMBERG
Subject: [freetype2] logging 2bb8a9b 18/21: * src/bdf/bdflib.c: Fix `-Wformat` warning.
Date: Wed, 2 Dec 2020 08:25:36 -0500 (EST)

branch: logging
commit 2bb8a9b249a4c6de23773a9afc340c5bc37728a4
Author: Werner Lemberg <wl@gnu.org>
Commit: Werner Lemberg <wl@gnu.org>

    * src/bdf/bdflib.c: Fix `-Wformat` warning.
---
 ChangeLog        | 4 ++++
 src/bdf/bdflib.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a0fd192..3e4b259 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]