Mem_Free on a const pointer apparently irritates MSVC but not gcc... hush MSVC
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Sep 2002 00:16:50 +0000 (00:16 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Sep 2002 00:16:50 +0000 (00:16 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2411 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index c337e51..941e612 100644 (file)
--- 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]);
 }