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

Fix glob() for Win64

_fintfirst() is declared in the Mingw-w64 headers as an intptr_t,
which tracks.  Can't find _findfirst on MSDN, so that's good enough
for me... let's see what the pipeline says.
parent 6ca9a141
No related branches found
No related tags found
No related merge requests found
Pipeline #5935 passed
......@@ -231,7 +231,7 @@ int glob(const char *pattern, int flags, void* unused, glob_t* glob)
int glob(const char *pattern, int flags, void* unused, glob_t* glob)
{
struct _finddata_t ff;
long ff_handle;
intptr_t ff_handle;
size_t found=0;
char path[MAX_PATH+1];
char* p;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment