diff options
author | Peng Wu <alexepico@gmail.com> | 2010-09-14 16:20:18 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-09-14 16:20:18 +0800 |
commit | 0713adcf7919b32eb5af0b3a81c3384f209c84e2 (patch) | |
tree | e2de8cc5cf546ae2fc8bd5ca4d90907a60d7e896 /src/storage/phrase_large_table.cpp | |
parent | 32b04bf652dca5d8e4d9980a9066d6ada19c868c (diff) | |
download | libpinyin-0713adcf7919b32eb5af0b3a81c3384f209c84e2.tar.gz libpinyin-0713adcf7919b32eb5af0b3a81c3384f209c84e2.tar.xz libpinyin-0713adcf7919b32eb5af0b3a81c3384f209c84e2.zip |
fixes compile warnings
Diffstat (limited to 'src/storage/phrase_large_table.cpp')
-rw-r--r-- | src/storage/phrase_large_table.cpp | 2 |
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) ) |