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_index.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_index.cpp')
-rw-r--r-- | src/storage/phrase_index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp index b4ffa7f..8bd65f6 100644 --- a/src/storage/phrase_index.cpp +++ b/src/storage/phrase_index.cpp @@ -283,7 +283,7 @@ bool FacadePhraseIndex::load_text(guint8 phrase_index, 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) ) break; |