summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_index.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-10-11 14:37:55 +0800
committerPeng Wu <alexepico@gmail.com>2010-10-11 14:37:55 +0800
commited9e811631b71ec835a9f25243c354f6050c885e (patch)
tree031e49c9a96839fd45a3903564274a416e4d1a35 /src/storage/phrase_index.h
parent85685a27f4bc755dcb439959ecb106c9f83dfe04 (diff)
downloadlibpinyin-ed9e811631b71ec835a9f25243c354f6050c885e.tar.gz
libpinyin-ed9e811631b71ec835a9f25243c354f6050c885e.tar.xz
libpinyin-ed9e811631b71ec835a9f25243c354f6050c885e.zip
fixes compile warnings
Diffstat (limited to 'src/storage/phrase_index.h')
-rwxr-xr-xsrc/storage/phrase_index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h
index c07b006..145d9c5 100755
--- a/src/storage/phrase_index.h
+++ b/src/storage/phrase_index.h
@@ -52,7 +52,7 @@ namespace novel{
* Store this in user home directory.
*/
-const int phrase_item_header = sizeof(guint8) + sizeof(guint8) + sizeof(guint32);
+const size_t phrase_item_header = sizeof(guint8) + sizeof(guint8) + sizeof(guint32);
class PhraseItem{
friend class SubPhraseIndex;