summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc
index 028d230e..4fcaea21 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -382,7 +382,7 @@ void print_item(std::ostream& out, const item_t& item, const string& prefix)
string item_context(const item_t& item, const string& desc)
{
- std::size_t len = item.end_pos - item.beg_pos;
+ std::streamoff len = item.end_pos - item.beg_pos;
if (! len)
return _("<no item context>");