Skip to content
Snippets Groups Projects
Commit 3cc97356 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Looks like that worked... intptr_t the rest.

parent cb0dbdaf
Branches
No related tags found
No related merge requests found
Pipeline #5936 passed
...@@ -522,7 +522,7 @@ bool fexist(const char *filespec) ...@@ -522,7 +522,7 @@ bool fexist(const char *filespec)
{ {
#if defined(_WIN32) #if defined(_WIN32)
long handle; intptr_t handle;
struct _finddata_t f; struct _finddata_t f;
bool found; bool found;
...@@ -584,7 +584,7 @@ bool fexistcase(char *path) ...@@ -584,7 +584,7 @@ bool fexistcase(char *path)
#if defined(_WIN32) #if defined(_WIN32)
char* fname; char* fname;
long handle; intptr_t handle;
struct _finddata_t f; struct _finddata_t f;
if(access(path, F_OK)==-1 && !strchr(path,'*') && !strchr(path,'?')) if(access(path, F_OK)==-1 && !strchr(path,'*') && !strchr(path,'?'))
...@@ -693,7 +693,7 @@ bool isdir(const char *filename) ...@@ -693,7 +693,7 @@ bool isdir(const char *filename)
int getfattr(const char* filename) int getfattr(const char* filename)
{ {
#if defined(_WIN32) #if defined(_WIN32)
long handle; intptr_t handle;
struct _finddata_t finddata; struct _finddata_t finddata;
if((handle=_findfirst((char*)filename,&finddata))==-1) { if((handle=_findfirst((char*)filename,&finddata))==-1) {
......
...@@ -137,7 +137,7 @@ extern "C" { ...@@ -137,7 +137,7 @@ extern "C" {
{ {
char filespec[260]; char filespec[260];
struct dirent dirent; struct dirent dirent;
long handle; intptr_t handle;
struct _finddata_t finddata; struct _finddata_t finddata;
bool end; /* End of directory flag */ bool end; /* End of directory flag */
} DIR; } DIR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment