From 5efe52b17eb297e4244227040f994df86878c5b8 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Tue, 25 Dec 2018 10:31:52 +0100 Subject: [PATCH] fix size_t vs int error appearing at build server --- src/tests/op_unit_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/op_unit_test.cc b/src/tests/op_unit_test.cc index e11a90e..fbf0c19 100644 --- a/src/tests/op_unit_test.cc +++ b/src/tests/op_unit_test.cc @@ -559,9 +559,9 @@ namespace { res(i3,i1) = (ma2(i3,i2) - ma1(i1,i2,i3)).c(si); res2(i3,si,i1) = ma2(i3,i2) - ma1(i1,i2,i3); - EXPECT_EQ( res2.size(), 8 ); - EXPECT_EQ( res2.vdata().size(), 8 ); - EXPECT_EQ( MAT::rptr<1>( res2 )->size(), 2 ); + EXPECT_EQ( res2.size(), static_cast(8) ); + EXPECT_EQ( res2.vdata().size(), static_cast(8) ); + EXPECT_EQ( MAT::rptr<1>( res2 )->size(), static_cast(2) ); EXPECT_EQ( MAT::rptr<1>( res2 )->isMeta('1'), true ); EXPECT_EQ( MAT::rptr<1>( res2 )->isMeta('3'), true );