From db3a0b98b254fdf2f77d26f4cb3d08ddd9296709 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Mon, 11 Apr 2016 18:15:08 +0200
Subject: [PATCH] safer comparison in tests

---
 alib2std/test-src/extensions/SetTest.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/alib2std/test-src/extensions/SetTest.cpp b/alib2std/test-src/extensions/SetTest.cpp
index 15ffd03fe0..eb91b100e8 100644
--- a/alib2std/test-src/extensions/SetTest.cpp
+++ b/alib2std/test-src/extensions/SetTest.cpp
@@ -39,8 +39,8 @@ void SetTest::test2() {
 	std::set_difference (first.begin(), first.end(), second.begin(), second.end(), std::inserter(firstMinusSecond, firstMinusSecond.end()));
 	std::set_difference (second.begin(), second.end(), first.begin(), first.end(), std::inserter(secondMinusFirst, secondMinusFirst.end()));
 
-	CPPUNIT_ASSERT_EQUAL(firstMinusSecond.size(), 0ul);
-	CPPUNIT_ASSERT_EQUAL(secondMinusFirst.size(), 2ul);
+	CPPUNIT_ASSERT_EQUAL(firstMinusSecond.size(), (size_t) 0u);
+	CPPUNIT_ASSERT_EQUAL(secondMinusFirst.size(), (size_t) 2u);
 }
 
 void SetTest::test3() {
-- 
GitLab