From 475014a14be8a1ee4a82075113f8ca11ceca9f5b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 9 Oct 2009 19:50:23 -0400 Subject: Added some missing casts, upgraded to Boost 1.40 --- src/error.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/error.cc') 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 buf(new char[len + 1]); in.read(buf.get(), static_cast(len)); - assert(static_cast(in.gcount()) == len); + assert(static_cast(in.gcount()) == + static_cast(len)); buf[static_cast(len)] = '\0'; bool first = true; -- cgit v1.2.3