diff options
author | H. Joe Lee <hyoklee@hdfgroup.org> | 2023-10-18 14:59:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 14:59:01 (GMT) |
commit | 5e310254e205fd3a2a11afdab9746c49c43d5c06 (patch) | |
tree | 4bd2af111b7cee958852d144b200a2010b4402cb | |
parent | 95572568191492f0d79924a55ea10453095a20c1 (diff) | |
download | hdf5-5e310254e205fd3a2a11afdab9746c49c43d5c06.zip hdf5-5e310254e205fd3a2a11afdab9746c49c43d5c06.tar.gz hdf5-5e310254e205fd3a2a11afdab9746c49c43d5c06.tar.bz2 |
Correct ld in format strings in cmpd_dset.c (#3697)
Removes clang warnings
-rw-r--r-- | test/cmpd_dset.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c index 02dbde3..460c8ae 100644 --- a/test/cmpd_dset.c +++ b/test/cmpd_dset.c @@ -401,8 +401,10 @@ compare_a_b_c_data(void *exp1_buf, void *exp2_buf, void *rbuf) if (s1_ptr->a != rbuf_ptr->a || s2_ptr->b != rbuf_ptr->b || s2_ptr->c != rbuf_ptr->c) { H5_FAILED(); printf(" i=%d\n", i); - printf(" expect_buf:a=%ld, b=%ld, c=%ld\n", s1_ptr->a, s2_ptr->b, s2_ptr->c); - printf(" rbuf: a=%ld, b=%ld, c=%ld", rbuf_ptr->a, rbuf_ptr->b, rbuf_ptr->c); + printf(" expect_buf:a=%" PRId64 ", b=%" PRId64 ", c=%" PRId64 "\n", s1_ptr->a, s2_ptr->b, + s2_ptr->c); + printf(" rbuf: a=%" PRId64 ", b=%" PRId64 ", c=%" PRId64 "\n", rbuf_ptr->a, rbuf_ptr->b, + rbuf_ptr->c); goto error; } } /* end for */ |