qt-faststart: Fix the signedness of variables keeping the ftello return values
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Oct 2012 21:05:33 +0000 (22:05 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 2 Mar 2014 16:42:36 +0000 (11:42 -0500)
commit298d66c8de1d4faa152f4ef557566aa0519223d8
treee2c9499753b030cbdaa41d6dee6a5df0ad582562
parent92edc13d69188de1f12197996334c1cc6e2d12c5
qt-faststart: Fix the signedness of variables keeping the ftello return values

These variables are assigned the return values of ftello, which
returns an off_t, which is a signed type. On errors, ftello returns
-1, thus make sure this error return value can be stored properly.

Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 03c2a66fcff9707f71ffef7e61ce5e3973220d4b)
tools/qt-faststart.c