]> git.sesse.net Git - ffmpeg/blobdiff - tools/graph2dot.c
Merge commit 'b2f0f37d242f1194fe1f886557cf6cefdf98caf6'
[ffmpeg] / tools / graph2dot.c
index 5552b3400d812b8b0ce42429c123cb8c266b1ad2..23c7331dc3127de8640ff97aeb74de9bdef77928 100644 (file)
@@ -153,7 +153,7 @@ int main(int argc, char **argv)
 
     /* read from infile and put it in a buffer */
     {
-        unsigned int count = 0;
+        int64_t count = 0;
         struct line *line, *last_line, *first_line;
         char *p;
         last_line = first_line = av_malloc(sizeof(struct line));
@@ -181,7 +181,7 @@ int main(int argc, char **argv)
         }
         p = graph_string;
         for (line = first_line; line->next; line = line->next) {
-            unsigned int l = strlen(line->data);
+            size_t l = strlen(line->data);
             memcpy(p, line->data, l);
             p += l;
         }