warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -437,7 +437,7 @@ bool wxDirExists(const wxString& dir)
|
|||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
#if defined(__WIN32__)
|
||||||
DWORD attribs = GetFileAttributes(dir);
|
DWORD attribs = GetFileAttributes(dir);
|
||||||
return ((attribs != -1) && (attribs & FILE_ATTRIBUTE_DIRECTORY));
|
return ((attribs != (DWORD)-1) && (attribs & FILE_ATTRIBUTE_DIRECTORY));
|
||||||
#else // Win16
|
#else // Win16
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
struct ffblk fileInfo;
|
struct ffblk fileInfo;
|
||||||
|
Reference in New Issue
Block a user