]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a warning on argv
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Sep 2002 22:10:21 +0000 (22:10 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Sep 2002 22:10:21 +0000 (22:10 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2434 d7cf8633-e32d-0410-b094-e92efae38249

sys_win.c

index 7363e57f2922ccc811208f6fd66f96cb677f9b64..acd3c16125cfbf9f1e634980151a666234c2e88a 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -346,7 +346,7 @@ WinMain
 */
 HINSTANCE      global_hInstance;
 int                    global_nCmdShow;
-char           *argv[MAX_NUM_ARGVS];
+const char     *argv[MAX_NUM_ARGVS];
 char           program_name[MAX_OSPATH];
 
 int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)