From 84f5fd946e6ac211bf4e5a71404945a179b07571 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 17 Sep 2017 12:56:57 +0100 Subject: [PATCH] Fixed GCC warning. Fixed formatting typo. --- test/test_stack.cpp | 8 ++++---- test/test_type_lookup.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test_stack.cpp b/test/test_stack.cpp index 35d287a1..49e352ce 100644 --- a/test/test_stack.cpp +++ b/test/test_stack.cpp @@ -236,16 +236,16 @@ namespace stack.push(4); stack.pop_into(i); - CHECK_EQUAL(4U, i); + CHECK_EQUAL(4, i); stack.pop_into(i); - CHECK_EQUAL(3U, i); + CHECK_EQUAL(3, i); stack.pop_into(i); - CHECK_EQUAL(2U, i); + CHECK_EQUAL(2, i); stack.pop_into(i); - CHECK_EQUAL(1U, i); + CHECK_EQUAL(1, i); } //************************************************************************* diff --git a/test/test_type_lookup.cpp b/test/test_type_lookup.cpp index 9edb347a..28bfd17b 100644 --- a/test/test_type_lookup.cpp +++ b/test/test_type_lookup.cpp @@ -186,7 +186,7 @@ namespace //************************************************************************* TEST(test_id_from_type_8) { - CHECK_EQUAL((unsigned int)Type1::ID, (unsigned int) Type_Id_Lookup8::id_from_type::value); + CHECK_EQUAL((unsigned int) Type1::ID, (unsigned int) Type_Id_Lookup8::id_from_type::value); CHECK_EQUAL((unsigned int) Type2::ID, (unsigned int) Type_Id_Lookup8::id_from_type::value); CHECK_EQUAL((unsigned int) Type3::ID, (unsigned int) Type_Id_Lookup8::id_from_type::value); CHECK_EQUAL((unsigned int) Type4::ID, (unsigned int) Type_Id_Lookup8::id_from_type::value);