Fixes a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1852 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d598616f5f
commit
af116fcf86
2 changed files with 2 additions and 2 deletions
|
@ -317,7 +317,7 @@ typedef struct vfsfile_s {
|
|||
#define VFS_READ(vf,buffer,buflen) (vf->ReadBytes(vf,buffer,buflen))
|
||||
#define VFS_WRITE(vf,buffer,buflen) (vf->WriteBytes(vf,buffer,buflen))
|
||||
#define VFS_FLUSH(vf) do{if(vf->Flush)vf->Flush(vf);}while(0)
|
||||
int VFS_GETS(vfsfile_t *vf, char *buffer, int buflen);
|
||||
char *VFS_GETS(vfsfile_t *vf, char *buffer, int buflen);
|
||||
|
||||
void FS_Remove(char *fname, int relativeto);
|
||||
vfsfile_t *FS_OpenVFS(char *filename, char *mode, int relativeto);
|
||||
|
|
|
@ -37,7 +37,7 @@ vfsfile_t *FS_OpenVFSLoc(flocation_t *loc, char *mode);
|
|||
|
||||
|
||||
|
||||
int VFS_GETS(vfsfile_t *vf, char *buffer, int buflen)
|
||||
char *VFS_GETS(vfsfile_t *vf, char *buffer, int buflen)
|
||||
{
|
||||
char in;
|
||||
char *out = buffer;
|
||||
|
|
Loading…
Reference in a new issue