1
0
Fork 0
forked from fte/fteqw

Slight modification to my last commit, so MSVC can still compile it

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3789 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2011-05-19 13:55:05 +00:00
parent 0e078381b3
commit f6a334e87e
3 changed files with 3 additions and 3 deletions

View file

@ -528,7 +528,7 @@ Direct-Sound support
*/
int DSOUND_InitCard (soundcardinfo_t *sc, int cardnum)
{
extern cvar_t snd_inactive; // snd_eax unused
extern cvar_t snd_inactive, snd_eax;
DSBUFFERDESC dsbuf;
DSBCAPS dsbcaps;
DWORD dwSize, dwWrite;

View file

@ -2444,7 +2444,7 @@ qboolean FTENET_IRCConnect_GetPacket(ftenet_generic_connection_t *gcon)
}
else
{
code = strtoul(s, (char ** __restrict__)&s, 10);
code = strtoul(s, (char **)&s, 10);
switch (code)
{
case 001:

View file

@ -265,7 +265,7 @@ int Plug_SystemCallsVM(void *offset, quintptr_t mask, int fn, const int *arg)
fn = fn+1;
if (fn>=0 && fn < numplugbuiltins && plugbuiltins[fn].func!=NULL)
return plugbuiltins[fn].func(offset, mask, (const long int *)args);
return plugbuiltins[fn].func(offset, mask, (const long*)args);
#undef args
Sys_Error("QVM Plugin tried calling invalid builtin %i", fn);
return 0;