mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 08:40:39 +00:00
Misc cleanups.
This commit is contained in:
parent
d8dc00f29b
commit
b9c0c95729
5 changed files with 10 additions and 12 deletions
|
@ -190,7 +190,7 @@ void Info_RemovePrefixedKeys (char *start, char prefix)
|
|||
}
|
||||
|
||||
|
||||
void Info_SetValueForStarKey (char *s, char *key, char *value, int maxsize)
|
||||
void Info_SetValueForStarKey (char *s, char *key, char *value, size_t maxsize)
|
||||
{
|
||||
char newstr[1024], *v;
|
||||
int c, is_name, is_team;
|
||||
|
@ -257,7 +257,7 @@ void Info_SetValueForStarKey (char *s, char *key, char *value, int maxsize)
|
|||
*s = 0;
|
||||
}
|
||||
|
||||
void Info_SetValueForKey (char *s, char *key, char *value, int maxsize)
|
||||
void Info_SetValueForKey (char *s, char *key, char *value, size_t maxsize)
|
||||
{
|
||||
if (key[0] == '*')
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue