Kaydet (Commit) 6c54831d authored tarafından Thomas Arnhold's avatar Thomas Arnhold

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

Change-Id: I7546fb8fd0a5b83818c8496d44ec180ec48e72eb
üst 4f1dabfd
...@@ -621,7 +621,7 @@ public: ...@@ -621,7 +621,7 @@ public:
*/ */
bool isCaseSensitiveFileSystem() const 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 /** Return whether the file system preserves the case of
...@@ -633,7 +633,7 @@ public: ...@@ -633,7 +633,7 @@ public:
*/ */
bool isCasePreservingFileSystem() const 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; friend class Directory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment