diff options
Diffstat (limited to 'sal/rtl/byteseq.cxx')
-rw-r--r-- | sal/rtl/byteseq.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/rtl/byteseq.cxx b/sal/rtl/byteseq.cxx index dfc0d96158be..10f2546fa024 100644 --- a/sal/rtl/byteseq.cxx +++ b/sal/rtl/byteseq.cxx @@ -234,10 +234,10 @@ sal_Bool SAL_CALL rtl_byte_sequence_equals( sal_Sequence *pSequence1 , sal_Seque { return sal_False; } - return (sal_Bool) - (memcmp( + return + memcmp( pSequence1->elements, pSequence2->elements, pSequence1->nElements ) - == 0); + == 0; } |