Fix. Use intptr_t to file handle on Windows (#26)

Tested on MS VS2008(x32) MinGW(x32) and MS VS2012(x64)
This commit is contained in:
Alexey Melnichuk
2014-01-04 10:02:16 +03:00
parent 2fd989cd6c
commit ab8348e9bc

View File

@@ -94,7 +94,7 @@
typedef struct dir_data {
int closed;
#ifdef _WIN32
long hFile;
intptr_t hFile;
char pattern[MAX_PATH+1];
#else
DIR *dir;