diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2016-07-13 08:00:19 +0200 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2016-07-13 08:00:19 +0200 |
commit | 1a4a02390cf30c3633f5dec9ada76b3e515a40bb (patch) | |
tree | 655663224c9dc58a862e9e8a14bef1b735764e99 /dw/hyphenator.cc | |
parent | 3f995b03c6fd112bbb8d4a25070ed6a07f126cf5 (diff) |
cppcheck: fix format string
Diffstat (limited to 'dw/hyphenator.cc')
-rw-r--r-- | dw/hyphenator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/hyphenator.cc b/dw/hyphenator.cc index 601e98f9..739590dc 100644 --- a/dw/hyphenator.cc +++ b/dw/hyphenator.cc @@ -567,7 +567,7 @@ int Trie::load (FILE *file) 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 (); |