summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_large_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phrase_large_table.cpp')
-rw-r--r--src/storage/phrase_large_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_large_table.cpp b/src/storage/phrase_large_table.cpp
index 53db455..7a7dfd0 100644
--- a/src/storage/phrase_large_table.cpp
+++ b/src/storage/phrase_large_table.cpp
@@ -321,7 +321,7 @@ bool PhraseLargeTable::load_text(FILE * infile){
while ( !feof(infile) ) {
fscanf(infile, "%s", pinyin);
fscanf(infile, "%s", phrase);
- fscanf(infile, "%ld", &token);
+ fscanf(infile, "%u", &token);
fscanf(infile, "%ld", &freq);
if ( feof(infile) )