git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4636
d7cf8633-e32d-0410-b094-
e92efae38249
return NULL;
}
-int main (int argc, const char **argv)
+int main (int argc, char **argv)
{
double frameoldtime, framenewtime;
signal(SIGFPE, SIG_IGN);
com_argc = argc;
- com_argv = argv;
+ com_argv = (const char **)argv;
#ifndef WIN32
fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
#endif
}
-int main (int argc, const char *argv[])
+int main (int argc, char *argv[])
{
double frameoldtime, framenewtime;
signal(SIGFPE, SIG_IGN);
com_argc = argc;
- com_argv = argv;
+ com_argv = (const char **)argv;
#ifndef WIN32
fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);