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.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/accum.cc') diff --git a/src/accum.cc b/src/accum.cc index d01d0e52..b918c76a 100644 --- a/src/accum.cc +++ b/src/accum.cc @@ -53,7 +53,7 @@ std::streamsize straccbuf::xsputn(const char * s, std::streamsize num) if (*p == '%') { const char * q = p + 1; if (*q && *q != '%' && std::isdigit(*q) && - std::size_t(*q - '0') == index) { + std::string::size_type(*q - '0') == index) { p++; buf << std::string(s, num); matched = true; -- cgit v1.2.3