summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-02-12 16:23:41 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-02-12 16:23:41 (GMT)
commit012a14de691644780c0ef152ea474f35e7d8d486 (patch)
treed05c7f2b16aa0a4cde539c1b04bb760090cb8b74 /Source/kwsys
parent6223d6008587e1661e2f5aa34008bf473faf591e (diff)
downloadCMake-012a14de691644780c0ef152ea474f35e7d8d486.zip
CMake-012a14de691644780c0ef152ea474f35e7d8d486.tar.gz
CMake-012a14de691644780c0ef152ea474f35e7d8d486.tar.bz2
fix incorrect signature for findfirst
Diffstat (limited to 'Source/kwsys')
-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 )