Fix compiler warnings/misbehaviour.

This commit is contained in:
Moritz Bunkus 2009-05-08 17:52:43 +02:00
parent b4921cbed0
commit ff7a5f910e

View File

@ -456,7 +456,7 @@ int64_t
get_chapter_uid(KaxChapterAtom &atom) {
KaxChapterUID *uid = FINDFIRST(&atom, KaxChapterUID);
return uid == NULL ? -1 : uint64(*uid);
return uid == NULL ? -1 : int64_t(uint64(*uid));
}
/** \brief Add missing mandatory elements