mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
* potential compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29739 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7d7096148e
commit
233ff911de
@ -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>();
|
||||
|
||||
RetType const * tmp = reinterpret_cast<RetType const *>(outbuf.data());
|
||||
RetType const * tmp = reinterpret_cast<RetType const *>(&outbuf[0]);
|
||||
return vector<RetType>(tmp, tmp + bytes / sizeof(RetType));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user