From 0713adcf7919b32eb5af0b3a81c3384f209c84e2 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 14 Sep 2010 16:20:18 +0800 Subject: fixes compile warnings --- src/storage/phrase_large_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/storage/phrase_large_table.cpp') 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) ) -- cgit