summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 01:12:21 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-17 05:15:21 +0200
commit6c54831d071c8386fddd3e6f5e131c71a06d0a1e (patch)
treee8cc55d65eab213c331dc3e393799707845cb11b /include/osl
parent4f1dabfd44c105d533689c181189868ce1cce79e (diff)
warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false'
Change-Id: I7546fb8fd0a5b83818c8496d44ec180ec48e72eb
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/file.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osl/file.hxx b/include/osl/file.hxx
index e946559531af..630785432ad9 100644
--- a/include/osl/file.hxx
+++ b/include/osl/file.hxx
@@ -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;