summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2010-01-25 18:38:25 +0000
committerChris Dyer <redpony@gmail.com>2010-01-25 18:38:25 +0000
commit566e06ddc88ca9467beaea56c6a2c4462126f68b (patch)
tree76e660c9c30ef49e140024c1f5f8b4a284bc9af3
parentb91722419af68054dbb29a35bd2704cd6dfe052a (diff)
fix const
-rw-r--r--decoder/ff_lm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_lm.cc b/decoder/ff_lm.cc
index 354787ec..2d00f954 100644
--- a/decoder/ff_lm.cc
+++ b/decoder/ff_lm.cc
@@ -23,7 +23,7 @@ struct LMClient {
};
LMClient(const char* host) : port(6666) {
- s = strchr(host, ':');
+ s = const_cast<char*>(strchr(host, ':')); // TODO fix const_cast
if (s != NULL) {
*s = '\0';
++s;