changeset 4643:ec2b93780dae

cppcheck: fix format string
author Johannes Hofmann <johannes.hofmann@gmx.de>
date Mi, 13 Jul 2016 08:00:19 +0200
parents 48aa85639a33
children 46080df49751
files dw/hyphenator.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw/hyphenator.cc	Di Jul 12 15:08:50 2016 -0400
+++ b/dw/hyphenator.cc	Mi Jul 13 08:00:19 2016 +0200
@@ -567,7 +567,7 @@
          continue;
 
       char data[LEN + 1];
-      int n = sscanf (s, "%u, %u, %s", &c, &next, data);
+      int n = sscanf (s, "%d, %d, %s", &c, &next, data);
 
       if (n >= 2 && c >= 0 && c < 256 && next >= 0) {
          tree.increase ();