alpha compile fixes (bah, bloody size_t:P)

This commit is contained in:
Bill Currie 2001-12-06 20:18:24 +00:00
parent 0c2f36f9a3
commit b8df7c0e9e

View file

@ -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;
} }