Browse Source

qt-faststart: fix signedness of variable used to hold return code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 12 years ago
parent
commit
1838961357
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/qt-faststart.c

+ 1 - 1
tools/qt-faststart.c

@@ -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;