diff options
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rwxr-xr-x | xdelta3/xdelta3-main.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index b18e919..702b6b6 100755 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -971,15 +971,15 @@ main_print_window (xd3_stream* stream) | |||
971 | if ((ret = xd3_decode_instruction (stream))) { return ret; } | 971 | if ((ret = xd3_decode_instruction (stream))) { return ret; } |
972 | 972 | ||
973 | VC(UT " %06"Q"u %03u %s %3u", stream->dec_winstart + size, code, | 973 | VC(UT " %06"Q"u %03u %s %3u", stream->dec_winstart + size, code, |
974 | xd3_rtype_to_string (stream->dec_current1.type, option_print_cpymode), | 974 | xd3_rtype_to_string (stream->dec_current1.type, option_print_cpymode), |
975 | stream->dec_current1.size); | 975 | (usize_t) stream->dec_current1.size); |
976 | 976 | ||
977 | if (stream->dec_current1.type != XD3_NOOP) | 977 | if (stream->dec_current1.type != XD3_NOOP) |
978 | { | 978 | { |
979 | size += stream->dec_current1.size; | 979 | size += stream->dec_current1.size; |
980 | if (stream->dec_current1.type >= XD3_CPY) | 980 | if (stream->dec_current1.type >= XD3_CPY) |
981 | { | 981 | { |
982 | VC(UT " @%-6u", stream->dec_current1.addr); | 982 | VC(UT " @%-6u", (usize_t)stream->dec_current1.addr); |
983 | } | 983 | } |
984 | else | 984 | else |
985 | { | 985 | { |
@@ -991,12 +991,12 @@ main_print_window (xd3_stream* stream) | |||
991 | { | 991 | { |
992 | size += stream->dec_current2.size; | 992 | size += stream->dec_current2.size; |
993 | VC(UT " %s %3u", | 993 | VC(UT " %s %3u", |
994 | xd3_rtype_to_string (stream->dec_current2.type, option_print_cpymode), | 994 | xd3_rtype_to_string (stream->dec_current2.type, option_print_cpymode), |
995 | stream->dec_current2.size); | 995 | (usize_t)stream->dec_current2.size); |
996 | 996 | ||
997 | if (stream->dec_current2.type >= XD3_CPY) | 997 | if (stream->dec_current2.type >= XD3_CPY) |
998 | { | 998 | { |
999 | VC(UT " @%-6u", stream->dec_current2.addr); | 999 | VC(UT " @%-6u", (usize_t)stream->dec_current2.addr); |
1000 | } | 1000 | } |
1001 | } | 1001 | } |
1002 | 1002 | ||
@@ -1095,7 +1095,7 @@ main_print_func (xd3_stream* stream, main_file *xfile) | |||
1095 | 1095 | ||
1096 | if ((stream->dec_win_ind & VCD_ADLER32) != 0) | 1096 | if ((stream->dec_win_ind & VCD_ADLER32) != 0) |
1097 | { | 1097 | { |
1098 | VC(UT "VCDIFF adler32 checksum: %08X\n", stream->dec_adler32); | 1098 | VC(UT "VCDIFF adler32 checksum: %08X\n", (usize_t)stream->dec_adler32); |
1099 | } | 1099 | } |
1100 | 1100 | ||
1101 | if (stream->dec_del_ind != 0) | 1101 | if (stream->dec_del_ind != 0) |
@@ -1115,16 +1115,16 @@ main_print_func (xd3_stream* stream, main_file *xfile) | |||
1115 | 1115 | ||
1116 | if (SRCORTGT (stream->dec_win_ind)) | 1116 | if (SRCORTGT (stream->dec_win_ind)) |
1117 | { | 1117 | { |
1118 | VC(UT "VCDIFF copy window length: %u\n", stream->dec_cpylen); | 1118 | VC(UT "VCDIFF copy window length: %u\n", (usize_t)stream->dec_cpylen); |
1119 | VC(UT "VCDIFF copy window offset: %"Q"u\n", stream->dec_cpyoff); | 1119 | VC(UT "VCDIFF copy window offset: %"Q"u\n", stream->dec_cpyoff); |
1120 | } | 1120 | } |
1121 | 1121 | ||
1122 | VC(UT "VCDIFF delta encoding length: %u\n", stream->dec_enclen); | 1122 | VC(UT "VCDIFF delta encoding length: %u\n", (usize_t)stream->dec_enclen); |
1123 | VC(UT "VCDIFF target window length: %u\n", stream->dec_tgtlen); | 1123 | VC(UT "VCDIFF target window length: %u\n", (usize_t)stream->dec_tgtlen); |
1124 | 1124 | ||
1125 | VC(UT "VCDIFF data section length: %u\n", stream->data_sect.size); | 1125 | VC(UT "VCDIFF data section length: %u\n", (usize_t)stream->data_sect.size); |
1126 | VC(UT "VCDIFF inst section length: %u\n", stream->inst_sect.size); | 1126 | VC(UT "VCDIFF inst section length: %u\n", (usize_t)stream->inst_sect.size); |
1127 | VC(UT "VCDIFF addr section length: %u\n", stream->addr_sect.size); | 1127 | VC(UT "VCDIFF addr section length: %u\n", (usize_t)stream->addr_sect.size); |
1128 | 1128 | ||
1129 | ret = 0; | 1129 | ret = 0; |
1130 | if ((stream->flags & XD3_JUST_HDR) != 0) | 1130 | if ((stream->flags & XD3_JUST_HDR) != 0) |