From 1da8763568794f572231831ff9c24759de9ec084 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 16 May 2009 18:00:00 +0000 Subject: [PATCH] add a missing cast git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8970 d7cf8633-e32d-0410-b094-e92efae38249 --- host_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host_cmd.c b/host_cmd.c index 23121a29..5c096377 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -1008,7 +1008,7 @@ void Host_Name_f (void) Cvar_Set ("_cl_name", newName); if (strlen(newNameSource) >= sizeof(newName)) // overflowed { - Con_Printf("Your name is longer than %i chars! It has been truncated.\n", sizeof(newName) - 1); + Con_Printf("Your name is longer than %i chars! It has been truncated.\n", (int) (sizeof(newName) - 1)); Con_Printf("name: %s\n", cl_name.string); } return; -- 2.39.2