From 38122c22241cb8fe64f0d17cd3b084418f49edaa Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 28 Feb 2009 04:54:54 -0400 Subject: Corrected warnings g++-4.3.3 was complaining about --- src/error.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/error.h') diff --git a/src/error.h b/src/error.h index 45c0cc68..42eab8d9 100644 --- a/src/error.h +++ b/src/error.h @@ -91,10 +91,10 @@ string line_context(const string& line, std::size_t pos = 0, std::size_t end_pos = 0); -string source_context(const path& file, - std::size_t pos, - std::size_t end_pos, - const string& prefix = ""); +string source_context(const path& file, + istream_pos_type pos, + istream_pos_type end_pos, + const string& prefix = ""); #define DECLARE_EXCEPTION(name, kind) \ class name : public kind { \ -- cgit v1.2.3