]> sjero.net Git - wget/blobdiff - src/progress.c
[svn] Remove unnecessary casts.
[wget] / src / progress.c
index 514565795a2a17c57729ec4ccec6f2a5854d2f0e..3ebec9a675d5458bcea06f587c3a6ecddc6a61f2 100644 (file)
@@ -222,12 +222,12 @@ dot_create (wgint initial, wgint total)
       int dot_bytes = opt.dot_bytes;
       wgint row_bytes = opt.dot_bytes * opt.dots_in_line;
 
-      int remainder = (int) (dp->initial_length % row_bytes);
+      int remainder = dp->initial_length % row_bytes;
       wgint skipped = dp->initial_length - remainder;
 
       if (skipped)
        {
-         int skipped_k = (int) (skipped / 1024); /* skipped amount in K */
+         int skipped_k = skipped / 1024; /* skipped amount in K */
          int skipped_k_len = numdigit (skipped_k);
          if (skipped_k_len < 5)
            skipped_k_len = 5;