Kaydet (Commit) 194c960c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with those that are (technically) const_cast

Change-Id: Ia5b84ed835215fe8e6a00a92cb3ac66f5fe0d973
üst 64b33886
......@@ -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 ?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment