diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2022-02-18 10:51:49 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2022-02-18 10:51:49 -0800 |
commit | b442c749e392f4b794556402d8671de869fd81b2 (patch) | |
tree | 3044fd547c56dd08a92004095e6a048e76e29d22 /src | |
parent | 33fb7a809d9f076bd3a9e16585f075a96adb42ea (diff) | |
download | abc-b442c749e392f4b794556402d8671de869fd81b2.tar.gz abc-b442c749e392f4b794556402d8671de869fd81b2.tar.bz2 abc-b442c749e392f4b794556402d8671de869fd81b2.zip |
Suggested change to prevent ABC from crashing when compiled on Windows.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/cmd/cmdLoad.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/cmd/cmdLoad.c b/src/base/cmd/cmdLoad.c index accd9440..bd511fec 100644 --- a/src/base/cmd/cmdLoad.c +++ b/src/base/cmd/cmdLoad.c @@ -114,7 +114,8 @@ Vec_Ptr_t * CmdCollectFileNames() { Vec_Ptr_t * vFileNames; struct _finddata_t c_file; - long hFile; + //long hFile; + ABC_PTRINT_T hFile; if( (hFile = _findfirst( "*.exe", &c_file )) == -1L ) { // Abc_Print( 0, "No files with extention \"%s\" in the current directory.\n", "exe" ); |