diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-09 19:50:23 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-09 19:50:23 -0400 |
commit | 475014a14be8a1ee4a82075113f8ca11ceca9f5b (patch) | |
tree | 77e3f7a909bbdefb4983225ae6da65123e23ef24 /src/error.cc | |
parent | 071273aa3e81e3bfc15266d432582b10959acb95 (diff) | |
download | fork-ledger-475014a14be8a1ee4a82075113f8ca11ceca9f5b.tar.gz fork-ledger-475014a14be8a1ee4a82075113f8ca11ceca9f5b.tar.bz2 fork-ledger-475014a14be8a1ee4a82075113f8ca11ceca9f5b.zip |
Added some missing casts, upgraded to Boost 1.40
Diffstat (limited to 'src/error.cc')
-rw-r--r-- | src/error.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/error.cc b/src/error.cc index 9a654ccc..54d17ad3 100644 --- a/src/error.cc +++ b/src/error.cc @@ -98,7 +98,8 @@ string source_context(const path& file, scoped_array<char> buf(new char[len + 1]); in.read(buf.get(), static_cast<int>(len)); - assert(static_cast<std::size_t>(in.gcount()) == len); + assert(static_cast<std::size_t>(in.gcount()) == + static_cast<std::size_t>(len)); buf[static_cast<int>(len)] = '\0'; bool first = true; |