diff options
author | Chris Dyer <redpony@gmail.com> | 2010-01-25 18:38:25 +0000 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2010-01-25 18:38:25 +0000 |
commit | 566e06ddc88ca9467beaea56c6a2c4462126f68b (patch) | |
tree | 76e660c9c30ef49e140024c1f5f8b4a284bc9af3 /decoder | |
parent | b91722419af68054dbb29a35bd2704cd6dfe052a (diff) |
fix const
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/ff_lm.cc | 2 |
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; |