From 566e06ddc88ca9467beaea56c6a2c4462126f68b Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Mon, 25 Jan 2010 18:38:25 +0000 Subject: fix const --- decoder/ff_lm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder/ff_lm.cc') 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(strchr(host, ':')); // TODO fix const_cast if (s != NULL) { *s = '\0'; ++s; -- cgit v1.2.3