Commit b442c749 by Alan Mishchenko

Suggested change to prevent ABC from crashing when compiled on Windows.

parent 33fb7a80
...@@ -114,7 +114,8 @@ Vec_Ptr_t * CmdCollectFileNames() ...@@ -114,7 +114,8 @@ Vec_Ptr_t * CmdCollectFileNames()
{ {
Vec_Ptr_t * vFileNames; Vec_Ptr_t * vFileNames;
struct _finddata_t c_file; struct _finddata_t c_file;
long hFile; //long hFile;
ABC_PTRINT_T hFile;
if( (hFile = _findfirst( "*.exe", &c_file )) == -1L ) if( (hFile = _findfirst( "*.exe", &c_file )) == -1L )
{ {
// Abc_Print( 0, "No files with extention \"%s\" in the current directory.\n", "exe" ); // Abc_Print( 0, "No files with extention \"%s\" in the current directory.\n", "exe" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment