aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/mime_string.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_string.hxx b/src/libmime/mime_string.hxx
index 41d2f5f7e..27483ce60 100644
--- a/src/libmime/mime_string.hxx
+++ b/src/libmime/mime_string.hxx
@@ -501,7 +501,7 @@ private:
/* This is fast path */
const auto *p = str;
const auto *end = str + len;
- std::ptrdiff_t err_offset;
+ std::int32_t err_offset; // We have to use int32_t here as old libicu is brain-damaged
auto orig_size = storage.size();
storage.reserve(len + storage.size());