From 012a14de691644780c0ef152ea474f35e7d8d486 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 12 Feb 2004 11:23:41 -0500 Subject: [PATCH] fix incorrect signature for findfirst --- Source/kwsys/Directory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/Directory.cxx b/Source/kwsys/Directory.cxx index 29c7d67a1..3f1f7e86a 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 )