Mollify various warnings which occur in 64-bit builds.
[u/mdw/catacomb] / progs / cc-progress.c
index 903e80e..918eb2c 100644 (file)
@@ -177,7 +177,8 @@ int fprogress_init(fprogress *f, const char *name, FILE *fp)
 void fprogress_clear(fprogress *f)
 {
   fprintf(stderr, "\r%*s\r",
-         sizeof(f->name) + 2*PRHUMAN_DATAWD + PRHUMAN_TIMEWD + BARWD + 16,
+         (int)(sizeof(f->name) + 2*PRHUMAN_DATAWD +
+               PRHUMAN_TIMEWD + BARWD + 16),
          "");
 }