mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
Another compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29742 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
091d4e58e3
commit
5c692aeef2
@ -230,7 +230,7 @@ iconv_convert(IconvProcessor & processor, InType const * buf, size_t buflen)
|
||||
if (outbuf.size() < maxoutbufsize)
|
||||
outbuf.resize(maxoutbufsize);
|
||||
|
||||
int bytes = processor.convert(inbuf, inbytesleft, outbuf.data(), outbuf.size());
|
||||
int bytes = processor.convert(inbuf, inbytesleft, &outbuf[0], outbuf.size());
|
||||
if (bytes <= 0)
|
||||
// Conversion failed
|
||||
// FIXME Maybe throw an exception and handle that in the caller?
|
||||
|
Loading…
Reference in New Issue
Block a user