From 9399b35b022d78a73a646bc6a41586b3a046ff72 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 26 Apr 2002 17:15:00 +0000 Subject: [PATCH] alpha compile fix --- libs/util/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/util/cmd.c b/libs/util/cmd.c index 0b2188220..ee63890f8 100644 --- a/libs/util/cmd.c +++ b/libs/util/cmd.c @@ -2067,7 +2067,7 @@ Cmd_Strlen_f (void) Cmd_Error ("strlen: invalid number of arguments.\n"); return; } - Cmd_Return (va("%i",strlen (Cmd_Argv(1)))); + Cmd_Return (va("%ld", (long) strlen (Cmd_Argv(1)))); } void