From: Lukáš Lalinský Date: Mon, 3 Sep 2012 17:55:55 +0000 (+0200) Subject: Fix ambiguous reference to uint in tests X-Git-Tag: v1.8~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33d0be110b8efca6231279139693c54bdd3465ea;p=taglib Fix ambiguous reference to uint in tests --- diff --git a/tests/test_apetag.cpp b/tests/test_apetag.cpp index 6cda5e52..0c63f0b6 100644 --- a/tests/test_apetag.cpp +++ b/tests/test_apetag.cpp @@ -77,7 +77,7 @@ public: APE::Item item3 = APE::Item("TRACKNUMBER", "29"); tag.setItem("TRACKNUMBER", item3); properties = tag.properties(); - CPPUNIT_ASSERT_EQUAL(uint(2), properties["TRACKNUMBER"].size()); + CPPUNIT_ASSERT_EQUAL(TagLib::uint(2), properties["TRACKNUMBER"].size()); CPPUNIT_ASSERT_EQUAL(String("17"), properties["TRACKNUMBER"][0]); CPPUNIT_ASSERT_EQUAL(String("29"), properties["TRACKNUMBER"][1]); @@ -93,7 +93,7 @@ public: APE::Tag tag; PropertyMap unsuccessful = tag.setProperties(properties); - CPPUNIT_ASSERT_EQUAL(uint(2), unsuccessful.size()); + CPPUNIT_ASSERT_EQUAL(TagLib::uint(2), unsuccessful.size()); CPPUNIT_ASSERT(unsuccessful.contains("A")); CPPUNIT_ASSERT(unsuccessful.contains("MP+")); }