From 7212f3c176771849f635aab523c07f5dc2022008 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 20 Dec 2000 14:10:50 +0000 Subject: [PATCH] warning fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 3d64ac1705..856c5c9ab9 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -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; -- 2.45.2