aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_icy_parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_icy_parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_icy_parser.cxx b/test/test_icy_parser.cxx
index 2abf60f9e..a996df134 100644
--- a/test/test_icy_parser.cxx
+++ b/test/test_icy_parser.cxx
@@ -28,7 +28,7 @@ icy_parse_tag(const char *p)
static void
CompareTagTitle(const Tag &tag, const std::string &title)
{
- CPPUNIT_ASSERT_EQUAL(1u, tag.num_items);
+ CPPUNIT_ASSERT_EQUAL(uint16_t(1), tag.num_items);
const TagItem &item = *tag.items[0];
CPPUNIT_ASSERT_EQUAL(TAG_TITLE, item.type);
@@ -47,7 +47,7 @@ static void
TestIcyParserEmpty(const char *input)
{
Tag *tag = icy_parse_tag(input);
- CPPUNIT_ASSERT_EQUAL(0u, tag->num_items);
+ CPPUNIT_ASSERT_EQUAL(uint16_t(0), tag->num_items);
delete tag;
}