aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/icu/Converter.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/icu/Converter.cxx b/src/lib/icu/Converter.cxx
index 7378f8636..1c6874065 100644
--- a/src/lib/icu/Converter.cxx
+++ b/src/lib/icu/Converter.cxx
@@ -51,6 +51,7 @@ IcuConverter::Create(const char *charset, Error &error)
static std::string
DoConvert(GIConv conv, const char *src)
{
+ // TODO: dynamic buffer?
char buffer[4096];
char *in = const_cast<char *>(src);
char *out = buffer;