summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-24 23:50:59 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-07-07 15:49:55 (GMT)
commit23bbe96c754fe15ec64d72dfd8009405b049a017 (patch)
treee8af77c1fd946b74a29a1a6965b1271c46f2c4ac /test/h5test.c
parent4e41ca05aac25fabd61993405708a97d63baa83f (diff)
downloadhdf5-23bbe96c754fe15ec64d72dfd8009405b049a017.zip
hdf5-23bbe96c754fe15ec64d72dfd8009405b049a017.tar.gz
hdf5-23bbe96c754fe15ec64d72dfd8009405b049a017.tar.bz2
Use PRIuHSIZE and PRIXHSIZE for portability.
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 1b445dd..a76f953 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -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;
}