Parcourir la source

[Minor] Add workaround for old libicu

tags/3.1
Vsevolod Stakhov il y a 2 ans
Parent
révision
f5ed45a2cf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/libmime/mime_string.hxx

+ 1
- 1
src/libmime/mime_string.hxx Voir le fichier

@@ -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());

Chargement…
Annuler
Enregistrer