warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false'
Change-Id: I7546fb8fd0a5b83818c8496d44ec180ec48e72eb
This commit is contained in:
parent
4f1dabfd44
commit
6c54831d07
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue