a bugfix when sizeof image is larger than 64k(0xFFFF)

This commit is contained in:
daishengdong
2020-06-28 15:05:03 +08:00
parent a35e88ad24
commit ae1d8f3b7f
2 changed files with 38 additions and 16 deletions

View File

@@ -112,7 +112,7 @@ static void process_command_line(int argc, char **argv, diff_param_t *param, arg
param->block_len = 0;
while ((c = getopt(argc, argv, "vhb:n:o:")) != -1) {
while ((c = getopt(argc, argv, "vhsb:n:o:")) != -1) {
switch (c) {
case 'h':
usage();