From 6c54831d071c8386fddd3e6f5e131c71a06d0a1e Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 17 Aug 2014 01:12:21 +0200 Subject: warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false' Change-Id: I7546fb8fd0a5b83818c8496d44ec180ec48e72eb --- include/osl/file.hxx | 4 ++-- 1 file 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; -- cgit