aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/hyphenator.cc2
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 ();