summaryrefslogtreecommitdiff
path: root/lib/parse_plural.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse_plural.h')
-rw-r--r--lib/parse_plural.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse_plural.h b/lib/parse_plural.h
index 4ac9e47b..c4466320 100644
--- a/lib/parse_plural.h
+++ b/lib/parse_plural.h
@@ -212,7 +212,7 @@ private:
private:
bool startsWith(const Wstring& prefix) const
{
- if (stream.end() - pos < static_cast<int>(prefix.size()))
+ if (stream.end() - pos < static_cast<ptrdiff_t>(prefix.size()))
return false;
return std::equal(prefix.begin(), prefix.end(), pos);
}
bgstack15