summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
Diffstat (limited to 'decoder')
-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;