git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8959
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
#if defined(__WIN32__)
DWORD attribs = GetFileAttributes(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;
#else // Win16
#ifdef __BORLANDC__
struct ffblk fileInfo;