fixed two int -> unsigned char conversion warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4964
d7cf8633-e32d-0410-b094-
e92efae38249
*/
void Host_Loadgame_f (void)
{
- qfile_t *f;
char filename[MAX_QPATH];
char mapname[MAX_QPATH];
float time;
sv.num_edicts = entnum;
sv.time = time;
- FS_Close (f);
-
for (i = 0;i < NUM_SPAWN_PARMS;i++)
svs.clients[0].spawn_parms[i] = spawn_parms[i];
{
c = FS_Getc(pr_files[filenum]);
if (c != '\n')
- FS_UnGetc(pr_files[filenum], c);
+ FS_UnGetc(pr_files[filenum], (unsigned char)c);
}
if (developer.integer)
Con_Printf("fgets: %s\n", string);
{
c = FS_Getc(VM_FILES[filenum]);
if (c != '\n')
- FS_UnGetc(VM_FILES[filenum], c);
+ FS_UnGetc(VM_FILES[filenum], (unsigned char)c);
}
if (developer.integer >= 3)
Con_Printf("fgets: %s: %s\n", PRVM_NAME, string);