more fixes for coverity, now fixed what i have done in previous build :)

This commit is contained in:
jeefo 2015-06-29 21:49:52 +03:00
commit ff51914ea6
10 changed files with 75 additions and 54 deletions

View file

@ -95,7 +95,7 @@ void NetworkMsg::Execute (void *p)
switch (m_state)
{
case 0:
strncpy (weaponProp.className, PTR_TO_STR (p), sizeof (weaponProp.className));
strncpy (weaponProp.className, PTR_TO_STR (p), SIZEOF_CHAR (weaponProp.className));
break;
case 1: