From 55a3ab741adf617aec3ae4968238a8697e58159d Mon Sep 17 00:00:00 2001 From: mittorn Date: Thu, 9 Feb 2017 22:46:48 +0600 Subject: [PATCH] Fix build --- dlls/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/util.cpp b/dlls/util.cpp index 9be35472..d1fceb0a 100644 --- a/dlls/util.cpp +++ b/dlls/util.cpp @@ -2241,7 +2241,7 @@ int CRestore::ReadField( void *pBaseData, TYPEDESCRIPTION *pFields, int fieldCou { Vector tmp; memcpy( &tmp, pInputData, sizeof( Vector ) ); - tmp += position; + tmp = tmp + position; memcpy( pOutputData, &tmp, sizeof( Vector ) ); } #else