X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d98b03b791154e92238a91f72d83fe0b01495b08..841048f2c832b41d168b10cea6d80c1ab3c49dca:/src/memtest.c diff --git a/src/memtest.c b/src/memtest.c index c8b47d48..09b4d831 100644 --- a/src/memtest.c +++ b/src/memtest.c @@ -47,7 +47,7 @@ void memtest_progress_end(void) { } void memtest_progress_step(size_t curr, size_t size, char c) { - size_t chars = (curr*progress_full)/size, j; + size_t chars = ((unsigned long long)curr*progress_full)/size, j; for (j = 0; j < chars-progress_printed; j++) { printf("%c",c);