Minor code tweeks to stop BCC compiler warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2001-04-21 15:48:12 +00:00
parent 461697c2ae
commit 3897b707bd
11 changed files with 26 additions and 21 deletions

View File

@@ -437,7 +437,7 @@ bool wxDirExists(const wxString& dir)
{
#if defined(__WIN32__)
DWORD attribs = GetFileAttributes(dir);
return ((attribs != -1) && (attribs & FILE_ATTRIBUTE_DIRECTORY));
return ((attribs != (DWORD)-1) && (attribs & FILE_ATTRIBUTE_DIRECTORY));
#else // Win16
#ifdef __BORLANDC__
struct ffblk fileInfo;