From b8df7c0e9e85ce7d691b8c2a2076e9f1973b323b Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 6 Dec 2001 20:18:24 +0000 Subject: [PATCH] alpha compile fixes (bah, bloody size_t:P) --- libs/util/cmd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/util/cmd.c b/libs/util/cmd.c index 996ac04af..1abe5e002 100644 --- a/libs/util/cmd.c +++ b/libs/util/cmd.c @@ -485,8 +485,8 @@ Cmd_TokenizeString (const char *text) argv_buf_size = 1024; //FIXME dynamic argv_buf = malloc (argv_buf_size); if (!argv_buf) - Sys_Error ("Cmd_TokenizeString: could not allocate %d bytes", - argv_buf_size); + Sys_Error ("Cmd_TokenizeString: could not allocate %ld bytes", + (long)argv_buf_size); } argv_idx = 0; @@ -1049,8 +1049,8 @@ write: com_token_size = (pos + 1024) & ~1023; com_token = realloc (com_token, com_token_size); if (!com_token) - Sys_Error ("COM_Parse: could not allocate %d bytes", - com_token_size); + Sys_Error ("COM_Parse: could not allocate %ld bytes", + (long)com_token_size); goto write; }