Fix multiplication converted to larger type

This fixes the instances of the "Multiplication result converted to 
larger type" alert that codeQL scanning found.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Andrew Innes <andrew.c12@gmail.com>
Closes #14094
This commit is contained in:
Andrew Innes
2022-10-29 00:30:37 +08:00
committed by GitHub
parent 5d0fd8429b
commit e09fdda977
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ static int bsize = 0;
static int count = 0;
static char *ifile = NULL;
static char *ofile = NULL;
static int stride = 0;
static int seek = 0;
static off_t stride = 0;
static off_t seek = 0;
static const char *execname = "stride_dd";
static void usage(void);