]> git.sesse.net Git - mlt/commitdiff
kino/riff.cc: suppress compiler warning
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 3 Mar 2009 04:57:15 +0000 (04:57 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 3 Mar 2009 04:57:15 +0000 (04:57 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1373 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/kino/riff.cc

index a03f069bd8e6efa7fc2e4c2b49f6d06b959775fb..f1dbb5cd92db4cc332d963ec84cd5dc7d346d77a 100644 (file)
@@ -518,7 +518,7 @@ void RIFFFile::ParseChunk( int parent )
        read( fd, &type, sizeof( type ) );
        if ( type == make_fourcc( "LIST" ) )
        {
-               typesize = -sizeof( type );
+               typesize = (int) -sizeof( type );
                fail_if( lseek( fd, typesize, SEEK_CUR ) == ( off_t ) - 1 );
                ParseList( parent );
        }