]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
New makefile and modified .def file supporting the xpmdecod module.
[wxWidgets.git] / src / msw / utils.cpp
index b7a6ae1a48c71419bedb470556dda19ef0c0b446..e035e05457edc5fd0ba6712e59988239ab6cf2df 100644 (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;