Fixed two splint warnings

This commit is contained in:
Walter Julius Hennecke 2013-05-21 20:49:19 +02:00
parent 8cd58f3bb1
commit caf8ae371a
2 changed files with 3 additions and 3 deletions

View file

@ -1064,7 +1064,7 @@ qboolean G_MoveBox (gentity_t* ent);
*
* \return an matching entity or NULL
*/
gentity_t* G_Find (gentity_t* from, int fieldofs, const char* match);
/*@shared@*/ gentity_t* G_Find (/*@null@*/ gentity_t* from, size_t fieldofs, const char* match);
/**
* \brief Pick a target.
@ -1075,7 +1075,7 @@ gentity_t* G_Find (gentity_t* from, int fieldofs, const char* match);
*
* \return an entity or NULL
*/
gentity_t* G_PickTarget (char* targetname);
/*@shared@*/ gentity_t* G_PickTarget (char* targetname);
/**
* \brief Use all of the given entity's targets.

View file

@ -148,7 +148,7 @@ void G_TeamCommand( team_t team, char *cmd ) {
}
}
gentity_t *G_Find (gentity_t *from, int fieldofs, const char *match)
gentity_t *G_Find (gentity_t *from, size_t fieldofs, const char *match)
{
char *s;