mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
alpha compile fixes (bah, bloody size_t:P)
This commit is contained in:
parent
0c2f36f9a3
commit
b8df7c0e9e
1 changed files with 4 additions and 4 deletions
|
@ -485,8 +485,8 @@ Cmd_TokenizeString (const char *text)
|
||||||
argv_buf_size = 1024; //FIXME dynamic
|
argv_buf_size = 1024; //FIXME dynamic
|
||||||
argv_buf = malloc (argv_buf_size);
|
argv_buf = malloc (argv_buf_size);
|
||||||
if (!argv_buf)
|
if (!argv_buf)
|
||||||
Sys_Error ("Cmd_TokenizeString: could not allocate %d bytes",
|
Sys_Error ("Cmd_TokenizeString: could not allocate %ld bytes",
|
||||||
argv_buf_size);
|
(long)argv_buf_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
argv_idx = 0;
|
argv_idx = 0;
|
||||||
|
@ -1049,8 +1049,8 @@ write:
|
||||||
com_token_size = (pos + 1024) & ~1023;
|
com_token_size = (pos + 1024) & ~1023;
|
||||||
com_token = realloc (com_token, com_token_size);
|
com_token = realloc (com_token, com_token_size);
|
||||||
if (!com_token)
|
if (!com_token)
|
||||||
Sys_Error ("COM_Parse: could not allocate %d bytes",
|
Sys_Error ("COM_Parse: could not allocate %ld bytes",
|
||||||
com_token_size);
|
(long)com_token_size);
|
||||||
goto write;
|
goto write;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue