From be2f9ad6e5eba6f2ab1dae80c1bdf064f1385b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Lalinsk=C3=BD?= Date: Mon, 14 Sep 2009 10:25:34 +0000 Subject: [PATCH] This value should be bool, not int Since bool and int have the same size on x86 architectures, this worked for me, but since they have a different size on ppc64, it caused the test to fail. See http://marc.info/?l=taglib-devel&m=125291701231305&w=2 for details. We should store the type in MP4::Item and do some type checking to avoid mistakes like this... git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1023246 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- tests/test_mp4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_mp4.cpp b/tests/test_mp4.cpp index 9732a5bb..7f9c9fe7 100644 --- a/tests/test_mp4.cpp +++ b/tests/test_mp4.cpp @@ -130,7 +130,7 @@ public: MP4::Atom *moov = atoms->atoms[0]; CPPUNIT_ASSERT_EQUAL(long(77), moov->length); - f->tag()->itemListMap()["pgap"] = 1; + f->tag()->itemListMap()["pgap"] = true; f->save(); f = new MP4::File(filename.c_str());