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)
committerMartin Storsjö <martin@martin.st>
Fri, 28 Feb 2014 22:24:55 +0000 (00:24 +0200)
commit03c2a66fcff9707f71ffef7e61ce5e3973220d4b
tree6716f00c1011376e039bb82f22eb70cc2e2c8e8b
parent5612244351b2eb3cb4e6225861a0f55aa5d0c475
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>
tools/qt-faststart.c