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 <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2021-11-09 09:14:48 +01:00
parent 3746379f25
commit 6159309493

View File

@ -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;