X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/269fa2d1d46469f330eaceaf0e2ca2bf5267abc6..84849cbd12159f7950a5ee35a36f5251a6d8bd3e:/html.c diff --git a/html.c b/html.c index 1daabe6..76a906f 100644 --- a/html.c +++ b/html.c @@ -344,7 +344,7 @@ static void write_report_line(struct html *ctx, struct vector *vec) size = vec->sizes[MAXCOLOUR]; htprintf(ctx, "\n" "%lluMb\n", - ((size + ((1<<11)-1)) >> 11)); /* convert to Mb, rounding up */ + ((size + ((1<<20)-1)) >> 20)); /* convert to Mb, rounding up */ /* * Generate a colour bar.