summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2011-06-02 08:30:49 -0400
committerPeng Huang <shawn.p.huang@gmail.com>2011-06-02 08:30:49 -0400
commit47bc0ca6978131de085f27d988a0f135474b6062 (patch)
treef272d2ff4be3ef10d0392dc4cef0831633da02ba
parentd89313116374fb647df89cba0aee8002a0750308 (diff)
downloadibus-pinyin-47bc0ca6978131de085f27d988a0f135474b6062.tar.gz
Fix a build warning.
BUG=Build wanring TEST=Manually Review URL: http://codereview.appspot.com/4528117
-rw-r--r--src/PYPunctEditor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PYPunctEditor.cc b/src/PYPunctEditor.cc
index 302c6e4..8612ca5 100644
--- a/src/PYPunctEditor.cc
+++ b/src/PYPunctEditor.cc
@@ -530,7 +530,7 @@ PunctEditor::updatePunctCandidates (gchar ch)
m_punct_candidates.clear();
- brs = (const gchar ***) std::bsearch ((void *) ch,
+ brs = (const gchar ***) std::bsearch (reinterpret_cast<void *>(ch),
punct_table,
G_N_ELEMENTS (punct_table),
sizeof(punct_table[0]),