From 588f2ef2f51d7bdf209820bfb244034863601939 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 04:35:19 -0400 Subject: Fixed many compiler warnings from g++ 4.4 --- src/accum.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/accum.h') diff --git a/src/accum.h b/src/accum.h index caf87d28..c29926d5 100644 --- a/src/accum.h +++ b/src/accum.h @@ -56,8 +56,8 @@ namespace ledger { class straccbuf : public std::streambuf { protected: - std::string str; // accumulator - std::size_t index; + std::string str; // accumulator + std::string::size_type index; public: straccbuf() : index(0) {} -- cgit v1.2.3