summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-02-21 10:38:02 +0800
committerPeng Wu <alexepico@gmail.com>2012-02-21 10:38:02 +0800
commit285222db4fecdd2f92a54ba48736fee5f604e795 (patch)
tree28172b12f191dbc1f69ad98eb7efc666c9db032b
parentb5ed5f8c8b3f3aa841f8e7deae578c1bed27a679 (diff)
downloadlibpinyin-285222db4fecdd2f92a54ba48736fee5f604e795.tar.gz
libpinyin-285222db4fecdd2f92a54ba48736fee5f604e795.tar.xz
libpinyin-285222db4fecdd2f92a54ba48736fee5f604e795.zip
fixes compile
-rw-r--r--src/storage/phrase_large_table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/phrase_large_table.h b/src/storage/phrase_large_table.h
index bf739ac..6b85eb5 100644
--- a/src/storage/phrase_large_table.h
+++ b/src/storage/phrase_large_table.h
@@ -51,7 +51,7 @@ public:
int search( int phrase_length, /* in */ ucs4_t phrase[],
/* out */ phrase_token_t & token);
- int add_index( int phrase_length, /* in */ usc4_t phrase[], /* in */ phrase_token_t token);
+ int add_index( int phrase_length, /* in */ ucs4_t phrase[], /* in */ phrase_token_t token);
int remove_index( int phrase_length, /* in */ ucs4_t phrase[], /* out */ phrase_token_t & token);
};
@@ -90,7 +90,7 @@ public:
bool load_text(FILE * file);
/* search/add_index/remove_index method */
- int search( int phrase_length, /* in */ usc4_t phrase[],
+ int search( int phrase_length, /* in */ ucs4_t phrase[],
/* out */ phrase_token_t & token){
return m_bitmap_table.search(phrase_length, phrase, token);
}