utlbuffer: typo fix

This commit is contained in:
nillerusr 2021-11-09 19:02:26 +03:00
parent 2d17c2b52f
commit b1edca8c4c

View File

@ -661,7 +661,7 @@ inline void CUtlBuffer::GetTypeBin< float >( float &dest )
else
{
// aligned read
Q_memcmp( &dest, (void*)pData, sizeof(float) );
Q_memcpy( &dest, (void*)pData, sizeof(float) );
}
if ( m_Byteswap.IsSwappingBytes() )
{