summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/kwsys/Directory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/Directory.cxx b/Source/kwsys/Directory.cxx
index 29c7d67..3f1f7e8 100644
--- a/Source/kwsys/Directory.cxx
+++ b/Source/kwsys/Directory.cxx
@@ -96,7 +96,7 @@ bool Directory::Load(const char* name)
struct _finddata_t data; // data of current file
// Now put them into the file array
- size_t srchHandle = _findfirst(buf, &data);
+ intptr_t srchHandle = _findfirst(buf, &data);
delete [] buf;
if ( srchHandle == -1 )