From af116fcf86ea7a5ab4a00e310c77672706537858 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 12 Jan 2006 22:21:32 +0000 Subject: [PATCH] Fixes a warning. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1852 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/common.h | 2 +- engine/common/fs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/common/common.h b/engine/common/common.h index 464086704..63bc3a50d 100644 --- a/engine/common/common.h +++ b/engine/common/common.h @@ -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); diff --git a/engine/common/fs.c b/engine/common/fs.c index fac64fb0b..72674daf1 100644 --- a/engine/common/fs.c +++ b/engine/common/fs.c @@ -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;