mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-16 12:19:45 +00:00
Show file size if not matching in radiff2
This commit is contained in:
parent
8361f2ea83
commit
a2a032833e
@ -444,6 +444,9 @@ int main(int argc, char **argv) {
|
||||
free (bufa);
|
||||
return 1;
|
||||
}
|
||||
if (sza != szb) {
|
||||
eprintf ("File size differs %d vs %d\n", sza, szb);
|
||||
}
|
||||
|
||||
switch (mode) {
|
||||
case MODE_COLS:
|
||||
|
@ -159,7 +159,7 @@ R_API void r_io_desc_list_visual(RIO *io, ut64 seek, ut64 len, int width, int us
|
||||
seek = (io->va || io->debug) ? r_io_section_vaddr_to_maddr_try (io, seek) : seek;
|
||||
|
||||
r_list_foreach (io->maps, iter, s) {
|
||||
if (min == -1 || s->from< min)
|
||||
if (min == -1 || s->from < min)
|
||||
min = s->from;
|
||||
if (max == -1 || s->to > max)
|
||||
max = s->to;
|
||||
|
Loading…
x
Reference in New Issue
Block a user