From b1edca8c4c225ca06973ffec522560cc5bd15877 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Tue, 9 Nov 2021 19:02:26 +0300 Subject: [PATCH] utlbuffer: typo fix --- public/tier1/utlbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tier1/utlbuffer.h b/public/tier1/utlbuffer.h index fb77b1f8..2f646e5e 100644 --- a/public/tier1/utlbuffer.h +++ b/public/tier1/utlbuffer.h @@ -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() ) {