From 658c907ddc00bba234b7209c581f1c6997ce79dd Mon Sep 17 00:00:00 2001 From: Ken Martin <ken.martin@kitware.com> Date: Thu, 12 Feb 2004 11:23:41 -0500 Subject: [PATCH] fix incorrect signature for findfirst --- Directory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.cxx b/Directory.cxx index 68b81c47..add296b8 100644 --- a/Directory.cxx +++ b/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 ) -- GitLab