From: havoc Date: Sun, 22 Sep 2002 00:16:50 +0000 (+0000) Subject: Mem_Free on a const pointer apparently irritates MSVC but not gcc... hush MSVC X-Git-Tag: RELEASE_0_2_0_RC1~220 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d9e87187d5f42201c03e94b8ca60db374282b3e7;p=xonotic%2Fdarkplaces.git 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 --- 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]); }