mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
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
This commit is contained in:
parent
f6083f327f
commit
be2f9ad6e5
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user