diff --git a/src/support/unicode.cpp b/src/support/unicode.cpp index 7f601a86c5..4288c5ac5d 100644 --- a/src/support/unicode.cpp +++ b/src/support/unicode.cpp @@ -236,7 +236,7 @@ iconv_convert(IconvProcessor & processor, InType const * buf, size_t buflen) // FIXME Maybe throw an exception and handle that in the caller? return vector(); - RetType const * tmp = reinterpret_cast(outbuf.data()); + RetType const * tmp = reinterpret_cast(&outbuf[0]); return vector(tmp, tmp + bytes / sizeof(RetType)); }