summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 32f42cf4..331073eb 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -171,7 +171,7 @@ namespace {
const char * b = str.c_str();
for (const char * p = b; *p; p++) {
if (*p == ch) {
- strings.push_back(string(b, p - b));
+ strings.push_back(string(b, static_cast<std::string::size_type>(p - b)));
b = p + 1;
}
}