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
This commit is contained in:
parent
d9e16591c7
commit
c890800e0e
1 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue