]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 c337e5147e97e78bf3c5f33bd838f29cfcdd97b9..941e6124bbb59200cb660c5a2f4c2a7a048165a8 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]);
 }