mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-12 15:04:59 +08:00
Use PRIuHSIZE and PRIXHSIZE for portability.
This commit is contained in:
parent
4e41ca05aa
commit
23bbe96c75
@ -2088,7 +2088,7 @@ h5_compare_file_bytes(char *f1name, char *f2name)
|
||||
f2size = HDftell(f2ptr);
|
||||
|
||||
if (f1size != f2size) {
|
||||
HDfprintf(stderr, "Files differ in size, %llu vs. %llu\n", f1size, f2size);
|
||||
HDfprintf(stderr, "Files differ in size, %" PRIuHSIZE " vs. %" PRIuHSIZE "\n", f1size, f2size);
|
||||
ret_value = -1;
|
||||
goto done;
|
||||
}
|
||||
@ -2100,7 +2100,7 @@ h5_compare_file_bytes(char *f1name, char *f2name)
|
||||
HDfread(&f1char, 1, 1, f1ptr);
|
||||
HDfread(&f2char, 1, 1, f2ptr);
|
||||
if (f1char != f2char) {
|
||||
HDfprintf(stderr, "Mismatch @ 0x%llX: 0x%X != 0x%X\n", ii, f1char, f2char);
|
||||
HDfprintf(stderr, "Mismatch @ 0x%" PRIXHSIZE ": 0x%X != 0x%X\n", ii, f1char, f2char);
|
||||
ret_value = -1;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user