diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-04 12:13:23 -0800 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-04 12:13:23 -0800 |
| commit | 2b80db36f00dc3ac46724b1c128f734eecac181d (patch) | |
| tree | ee534a9139513a6a56f83888a93dd2528bf8c212 | |
| parent | 2fd989cd6c777583be1c93616018c55b2cbb1bcf (diff) | |
| parent | ab8348e9bc404705a88bd1a9736dc9d947882fec (diff) | |
| download | luafilesystem-2b80db36f00dc3ac46724b1c128f734eecac181d.tar.gz luafilesystem-2b80db36f00dc3ac46724b1c128f734eecac181d.tar.bz2 luafilesystem-2b80db36f00dc3ac46724b1c128f734eecac181d.zip | |
Merge pull request #27 from moteus/patch-1
Fix. Use intptr_t to file handle on Windows (#26)
| -rw-r--r-- | src/lfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -94,7 +94,7 @@ | |||
| 94 | typedef struct dir_data { | 94 | typedef struct dir_data { |
| 95 | int closed; | 95 | int closed; |
| 96 | #ifdef _WIN32 | 96 | #ifdef _WIN32 |
| 97 | long hFile; | 97 | intptr_t hFile; |
| 98 | char pattern[MAX_PATH+1]; | 98 | char pattern[MAX_PATH+1]; |
| 99 | #else | 99 | #else |
| 100 | DIR *dir; | 100 | DIR *dir; |
