more fixes for coverity, now fixed what i have done in previous build :)
This commit is contained in:
parent
95c121ef43
commit
ff51914ea6
10 changed files with 75 additions and 54 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue