warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false'

Change-Id: I7546fb8fd0a5b83818c8496d44ec180ec48e72eb
This commit is contained in:
Thomas Arnhold 2014-08-17 01:12:21 +02:00
parent 4f1dabfd44
commit 6c54831d07

View file

@ -621,7 +621,7 @@ public:
*/
bool isCaseSensitiveFileSystem() const
{
return (_aInfo.uAttributes & osl_Volume_Attribute_Case_Sensitive);
return (_aInfo.uAttributes & osl_Volume_Attribute_Case_Sensitive) != 0;
}
/** Return whether the file system preserves the case of
@ -633,7 +633,7 @@ public:
*/
bool isCasePreservingFileSystem() const
{
return (_aInfo.uAttributes & osl_Volume_Attribute_Case_Is_Preserved);
return (_aInfo.uAttributes & osl_Volume_Attribute_Case_Is_Preserved) != 0;
}
friend class Directory;