From 013aefd9fd9880e9c19aa69dd190f62a1a0f54f4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 3 Mar 2011 23:17:59 -0500 Subject: Added casts necessary for building under Visual Studio --- src/token.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/token.cc') diff --git a/src/token.cc b/src/token.cc index 7bfaf162..735f5825 100644 --- a/src/token.cc +++ b/src/token.cc @@ -402,7 +402,7 @@ void expr_t::token_t::next(std::istream& in, const parse_flags_t& pflags, assert(in.good()); assert(! in.eof()); - assert(in.tellg() != -1); + assert(static_cast(in.tellg()) != -1); // When in relaxed parsing mode, we want to migrate commodity flags // so that any precision specified by the user updates the current -- cgit v1.2.3