Convert int to bool explicitly to avoid MSVC warning C4800.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70692
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// Should the existence of file/directory with this name be accepted, i.e.
// result in the true return value from this function?
- const bool acceptFile = flags & wxFileSystemObject_File;
- const bool acceptDir = flags & wxFileSystemObject_Dir;
+ const bool acceptFile = (flags & wxFileSystemObject_File) != 0;
+ const bool acceptDir = (flags & wxFileSystemObject_Dir) != 0;
wxString strPath(path);