From d9e87187d5f42201c03e94b8ca60db374282b3e7 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 22 Sep 2002 00:16:50 +0000 Subject: [PATCH] Mem_Free on a const pointer apparently irritates MSVC but not gcc... hush MSVC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2411 d7cf8633-e32d-0410-b094-e92efae38249 --- console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.c b/console.c index c337e514..941e6124 100644 --- a/console.c +++ b/console.c @@ -730,6 +730,6 @@ void Con_CompleteCommandLine (void) } for (i = 0; i < 3; i++) if (list[i]) - Mem_Free(list[i]); + Mem_Free((void *)list[i]); } -- 2.39.2