summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-02-12 13:04:46 +0100
committerMichael Stahl <mstahl@redhat.com>2014-02-12 20:26:40 +0100
commit56ff07a795aca516106bfde80cb32860065690a6 (patch)
tree13cf477f611b2aea9345a1d784890297a0d1b7ed /sal
parent55d3127f6cb146d4064a70f128c058f6c954c923 (diff)
sal: fix some clang warning about implicit bool conversion
Change-Id: I5ecaf73922c6a30add6e270b8abdfdb5c28fe4a5
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/locale.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/locale.cxx b/sal/rtl/locale.cxx
index d075eda742f1..642565f06a79 100644
--- a/sal/rtl/locale.cxx
+++ b/sal/rtl/locale.cxx
@@ -316,7 +316,7 @@ sal_Int32 SAL_CALL rtl_locale_hashCode( rtl_Locale * This )
*/
sal_Int32 SAL_CALL rtl_locale_equals( rtl_Locale * This, rtl_Locale * obj )
{
- return This == obj;
+ return sal_Int32(This == obj);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */