64bit Windows fix (patch by Marcus Meissner)

This commit is contained in:
Ludwig Nussel 2010-04-16 09:29:34 +00:00
parent 112287088e
commit 368a3be2a6
2 changed files with 3 additions and 3 deletions

View file

@ -343,7 +343,7 @@ void Sys_ListFilteredFiles( const char *basedir, char *subdirs, char *filter, ch
{ {
char search[MAX_OSPATH], newsubdirs[MAX_OSPATH]; char search[MAX_OSPATH], newsubdirs[MAX_OSPATH];
char filename[MAX_OSPATH]; char filename[MAX_OSPATH];
int findhandle; intptr_t findhandle;
struct _finddata_t findinfo; struct _finddata_t findinfo;
if ( *numfiles >= MAX_FOUND_FILES - 1 ) { if ( *numfiles >= MAX_FOUND_FILES - 1 ) {
@ -426,7 +426,7 @@ char **Sys_ListFiles( const char *directory, const char *extension, char *filter
char **listCopy; char **listCopy;
char *list[MAX_FOUND_FILES]; char *list[MAX_FOUND_FILES];
struct _finddata_t findinfo; struct _finddata_t findinfo;
int findhandle; intptr_t findhandle;
int flag; int flag;
int i; int i;

View file

@ -63,7 +63,7 @@ char *ex_argv[MAX_EX_ARGC];
void ExpandWildcards( int *argc, char ***argv ) void ExpandWildcards( int *argc, char ***argv )
{ {
struct _finddata_t fileinfo; struct _finddata_t fileinfo;
int handle; intptr_t handle;
int i; int i;
char filename[1024]; char filename[1024];
char filebase[1024]; char filebase[1024];