diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/stream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 45d276958c71..2e98799d2b9d 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1163,7 +1163,7 @@ SvStream& SvStream::WriteUChar( unsigned char v ) //SDO if(bIoWrite && sizeof(char) <= nBufFree ) { - *(unsigned char*)pBufPos = v; + *reinterpret_cast<unsigned char*>(pBufPos) = v; pBufPos++; // = sizeof(char); nBufActualPos++; // = sizeof(char); if( nBufActualPos > nBufActualLen ) // Append ? |