(svn r249) -Fix: warning fix in console.c/h (Tron)

This commit is contained in:
truelight
2004-09-14 16:30:33 +00:00
parent d48ce392b2
commit 3562d814fb
2 changed files with 5 additions and 5 deletions

View File

@@ -768,7 +768,7 @@ bool IConsoleCmdHookHandle(_iconsole_cmd * hook_cmd, byte type)
return proc(hook_cmd);
}
void IConsoleCmdExec(byte * cmdstr)
void IConsoleCmdExec(const byte* cmdstr)
{
_iconsole_var * (*function)(byte argc, byte* argv[], byte argt[]);
byte * tokens[20];
@@ -799,7 +799,7 @@ void IConsoleCmdExec(byte * cmdstr)
longtoken=false;
valid_token=false;
skip_lt_change=false;
l=strlen((char *) cmdstr);
l=strlen(cmdstr);
i=0;
c=0;
tokens[c] = tokenstream;