compilerplugins/clang/test/implicitboolconversion.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 615930949304104933d38f0394ef26e104ecaedc
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Nov 9 09:14:48 2021 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Nov 9 10:21:58 2021 +0100

    Adapt test to clang-cl on Windows (sal_Int32 typedef int vs. long)
    
    Change-Id: Ic3a27643bd3d5ca3a25449171a3a59140b915769
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124901
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/compilerplugins/clang/test/implicitboolconversion.cxx 
b/compilerplugins/clang/test/implicitboolconversion.cxx
index 0c53a1daf627..47c015261fef 100644
--- a/compilerplugins/clang/test/implicitboolconversion.cxx
+++ b/compilerplugins/clang/test/implicitboolconversion.cxx
@@ -57,10 +57,10 @@ void f()
     Sequence<Sequence<sal_Bool>> s2{ { false } };
     (void)s2;
     // expected-error@+1 {{implicit conversion (IntegralCast) from 'bool' to 
'const int' [loplugin:implicitboolconversion]}}
-    Sequence<sal_Int32> s3{ false };
+    Sequence<int> s3{ false };
     (void)s3;
     // expected-error@+1 {{implicit conversion (IntegralCast) from 'bool' to 
'const int' [loplugin:implicitboolconversion]}}
-    Sequence<Sequence<sal_Int32>> s4{ { false } };
+    Sequence<Sequence<int>> s4{ { false } };
     (void)s4;
     Wrap1<sal_Bool> w1{ false };
     (void)w1;

Reply via email to