Warnings ruhiggestellt

This commit is contained in:
Yamagi Burmeister 2009-10-04 07:06:21 +00:00
parent 21168ea8ed
commit 18fd45bb82
3 changed files with 4 additions and 4 deletions

View File

@ -2146,7 +2146,7 @@ static void Create_Savestrings (void)
else
{
FS_Read (m_savestrings[i], sizeof(m_savestrings[i]), (size_t)f);
FS_FCloseFile (f);
FS_FCloseFile ((size_t)f);
m_savevalid[i] = true;
}
}

View File

@ -319,7 +319,7 @@ void SV_ReadLevelFile (void)
}
FS_Read (sv.configstrings, sizeof(sv.configstrings), (size_t)f);
CM_ReadPortalState (f);
FS_FCloseFile (f);
FS_FCloseFile ((size_t)f);
Com_sprintf (name, sizeof(name), "%s/save/current/%s.sav", FS_Gamedir(), sv.name);
ge->ReadLevel (name);
@ -430,7 +430,7 @@ void SV_ReadServerFile (void)
// these will be things like coop, skill, deathmatch, etc
while (1)
{
if (!FS_Read (name, 1, sizeof(name), f))
if (!FS_FRead (name, 1, sizeof(name), (size_t)f))
break;
FS_Read (string, sizeof(string), (size_t)f);
Com_DPrintf ("Set %s = %s\n", name, string);

View File

@ -177,7 +177,7 @@ void SV_SpawnServer (char *server, char *spawnpoint, server_state_t serverstate,
Com_DPrintf ("SpawnServer: %s\n",server);
if (sv.demofile)
FS_FCloseFile (sv.demofile);
FS_FCloseFile ((size_t)sv.demofile);
svs.spawncount++; // any partially connected client will be
// restarted