From c890800e0e28fae56e01504ed40f19ba95fb1ecd Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 14 Sep 2005 16:56:59 +0000 Subject: [PATCH] Fixed a rare compile error and a warning git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1335 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/fs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/engine/common/fs.c b/engine/common/fs.c index 1b8710f08..8d86e5d2f 100644 --- a/engine/common/fs.c +++ b/engine/common/fs.c @@ -187,7 +187,7 @@ qboolean FSOS_FLocate(void *handle, flocation_t *loc, char *filename, void *hash */ // check a file in the directory tree - _snprintf (netpath, sizeof(netpath)-1, "%s/%s",handle, filename); + _snprintf (netpath, sizeof(netpath)-1, "%s/%s",(char*)handle, filename); f = fopen(netpath, "rb"); if (!f) @@ -407,7 +407,7 @@ searchpathfuncs_t packfilefuncs = { //====================================================================================================== //ZIP files (*.zip *.pk3) - +void *com_pathforfile; //fread and stuff is preferable if null #define ZEXPORT VARGS @@ -434,8 +434,6 @@ typedef struct zipfile_s #endif } zipfile_t; -void *com_pathforfile; //fread and stuff is preferable if null. - static void FSZIP_PrintPath(void *handle) {