diff options
author | John Wiegley <johnw@newartisans.com> | 2011-03-03 23:17:59 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-03-03 23:17:59 -0500 |
commit | 013aefd9fd9880e9c19aa69dd190f62a1a0f54f4 (patch) | |
tree | 3b8f381f661a058323339b0cfaa9c9708206cf1c /src/token.cc | |
parent | 49a90ef595010ed547ba71c40ee7ae4344eb8092 (diff) | |
download | fork-ledger-013aefd9fd9880e9c19aa69dd190f62a1a0f54f4.tar.gz fork-ledger-013aefd9fd9880e9c19aa69dd190f62a1a0f54f4.tar.bz2 fork-ledger-013aefd9fd9880e9c19aa69dd190f62a1a0f54f4.zip |
Added casts necessary for building under Visual Studio
Diffstat (limited to 'src/token.cc')
-rw-r--r-- | src/token.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>(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 |