From 44cce0260edd7c741cf6c101c6533ad6195d1694 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <jan.travnicek@.fit.cvut.cz> Date: Fri, 22 Nov 2019 12:50:16 +0100 Subject: [PATCH] fix signed vs unsigned comparison warning --- alib2std/test-src/extensions/UtilityTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alib2std/test-src/extensions/UtilityTest.cpp b/alib2std/test-src/extensions/UtilityTest.cpp index 6a77be3d31..cccc2a7ebd 100644 --- a/alib2std/test-src/extensions/UtilityTest.cpp +++ b/alib2std/test-src/extensions/UtilityTest.cpp @@ -42,7 +42,7 @@ TEST_CASE ( "Utility", "[unit][std][bits]" ) { } { - auto const t = std::array<int, 4>{{0,1,2,3}}; + auto const t = std::array<std::size_t, 4>{{0,1,2,3}}; auto lambda = [ & ] ( auto I ) { CHECK ( std::get < decltype ( I )::value > ( t ) == I ); -- GitLab