summaryrefslogtreecommitdiff
path: root/src/memtest.c
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2021-05-03 08:33:21 +0300
committerOran Agra <oran@redislabs.com>2021-05-03 18:59:47 +0300
commitfd7d51c353607f350c865155444bce9236f3d682 (patch)
tree37444197b342c7c21bde1c391eb142cda845bf48 /src/memtest.c
parentf0c5f920d0f88bd8aa376a2c05af4902789d1ef9 (diff)
downloadredis-fd7d51c353607f350c865155444bce9236f3d682.tar.gz
Resolve nonsense static analysis warnings
Diffstat (limited to 'src/memtest.c')
-rw-r--r--src/memtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memtest.c b/src/memtest.c
index cb4d35e83..bc0ac3a66 100644
--- a/src/memtest.c
+++ b/src/memtest.c
@@ -71,7 +71,7 @@ void memtest_progress_start(char *title, int pass) {
printf("\x1b[H\x1b[2K"); /* Cursor home, clear current line. */
printf("%s [%d]\n", title, pass); /* Print title. */
progress_printed = 0;
- progress_full = ws.ws_col*(ws.ws_row-3);
+ progress_full = (size_t)ws.ws_col*(ws.ws_row-3);
fflush(stdout);
}