projects
/
platform
/
upstream
/
ibus-libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d893131
)
Fix a build warning.
author
Peng Huang
<shawn.p.huang@gmail.com>
Thu, 2 Jun 2011 12:30:49 +0000
(08:30 -0400)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Thu, 2 Jun 2011 12:30:49 +0000
(08:30 -0400)
BUG=Build wanring
TEST=Manually
Review URL: http://codereview.appspot.com/4528117
src/PYPunctEditor.cc
patch
|
blob
|
history
diff --git
a/src/PYPunctEditor.cc
b/src/PYPunctEditor.cc
index
302c6e4
..
8612ca5
100644
(file)
--- 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]),