]> granicus.if.org Git - taglib/commitdiff
Fix ambiguous reference to uint in tests
authorLukáš Lalinský <lalinsky@gmail.com>
Mon, 3 Sep 2012 17:55:55 +0000 (19:55 +0200)
committerLukáš Lalinský <lalinsky@gmail.com>
Mon, 3 Sep 2012 17:55:55 +0000 (19:55 +0200)
tests/test_apetag.cpp

index 6cda5e52f1dd49b696c63d922fa9a9dcf6267a1c..0c63f0b6f26f3fe055dd00f2b342fde32856c3c3 100644 (file)
@@ -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+"));
   }