summaryrefslogtreecommitdiffstats
path: root/src/lookup
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-10-14 14:46:11 +0800
committerPeng Wu <alexepico@gmail.com>2010-10-14 14:46:11 +0800
commitd51091e95735909b48f025be18238cd2f7b3931f (patch)
tree4e55e2121d4e9a0348eb19cc41c6fce21e230754 /src/lookup
parenta99fa36f8e6a75f2c305a07e08354fa881a1a124 (diff)
downloadlibpinyin-d51091e95735909b48f025be18238cd2f7b3931f.tar.gz
libpinyin-d51091e95735909b48f025be18238cd2f7b3931f.tar.xz
libpinyin-d51091e95735909b48f025be18238cd2f7b3931f.zip
fixes compile warning for pinyin_lookup.h
Diffstat (limited to 'src/lookup')
-rw-r--r--src/lookup/pinyin_lookup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lookup/pinyin_lookup.h b/src/lookup/pinyin_lookup.h
index e585788..0e8287f 100644
--- a/src/lookup/pinyin_lookup.h
+++ b/src/lookup/pinyin_lookup.h
@@ -45,7 +45,7 @@ struct lookup_value_t{
gint32 m_last_step;
lookup_value_t(gfloat poss = FLT_MAX){
- m_handles[0] = NULL; m_handles[1] = NULL;
+ m_handles[0] = null_token; m_handles[1] = null_token;
m_poss = poss;
m_last_step = -1;
}