From 46b86a1e62a44f734a01a45d4e279cdc5aea2e31 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 14 Apr 2013 18:33:25 +0200 Subject: fix some OOB enumerator usages (should be no-op with usual compiler workings) --- src/qcommon/files.c | 2 +- src/qcommon/qcommon.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qcommon') diff --git a/src/qcommon/files.c b/src/qcommon/files.c index c8266fb0..eb7ff874 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -1360,7 +1360,7 @@ Return the searchpath in "startSearch". ================= */ -vmInterpret_t FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, int enableDll) +int FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, int enableDll) { searchpath_t *search, *lastSearch; directory_t *dir; diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h index bf195ec7..5f21bbe3 100644 --- a/src/qcommon/qcommon.h +++ b/src/qcommon/qcommon.h @@ -605,7 +605,7 @@ qboolean FS_FileExists( const char *file ); qboolean FS_CreatePath (char *OSPath); -vmInterpret_t FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, int enableDll); +int FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, int enableDll); char *FS_BuildOSPath( const char *base, const char *game, const char *qpath ); qboolean FS_CompareZipChecksum(const char *zipfile); -- cgit