qt-faststart: fix signedness of variable used to hold return code
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Oct 2012 21:05:33 +0000 (22:05 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Oct 2012 21:11:22 +0000 (22:11 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/qt-faststart.c

index 3e2acd5..ecf163a 100644 (file)
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
     uint64_t i, j;
     uint32_t offset_count;
     uint64_t current_offset;
-    uint64_t start_offset = 0;
+    int64_t start_offset = 0;
     unsigned char *copy_buffer = NULL;
     int bytes_to_copy;