summaryrefslogtreecommitdiff
path: root/src/accum.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/accum.cc')
-rw-r--r--src/accum.cc2
1 files changed, 1 insertions, 1 deletions
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;