diff options
author | Oran Agra <oran@redislabs.com> | 2021-05-03 08:33:21 +0300 |
---|---|---|
committer | Oran Agra <oran@redislabs.com> | 2021-05-03 18:59:47 +0300 |
commit | fd7d51c353607f350c865155444bce9236f3d682 (patch) | |
tree | 37444197b342c7c21bde1c391eb142cda845bf48 /src/memtest.c | |
parent | f0c5f920d0f88bd8aa376a2c05af4902789d1ef9 (diff) | |
download | redis-fd7d51c353607f350c865155444bce9236f3d682.tar.gz |
Resolve nonsense static analysis warnings
Diffstat (limited to 'src/memtest.c')
-rw-r--r-- | src/memtest.c | 2 |
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); } |