From 66e5956906e61b047d2fd451f3053916cbc92433 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Mon, 13 Dec 2010 16:18:34 -0500 Subject: new version of kenlm --- klm/lm/read_arpa.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klm/lm/read_arpa.hh') diff --git a/klm/lm/read_arpa.hh b/klm/lm/read_arpa.hh index cabdb195..571fcbc5 100644 --- a/klm/lm/read_arpa.hh +++ b/klm/lm/read_arpa.hh @@ -54,7 +54,7 @@ template void ReadNGram(util::FilePiece &f, const uns } ReadBackoff(f, weights); } catch(util::Exception &e) { - e << " in the " << n << "-gram at byte " << f.Offset(); + e << " in the " << static_cast(n) << "-gram at byte " << f.Offset(); throw; } } -- cgit v1.2.3