diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 17:15:45 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-11-29 16:27:00 (GMT) |
commit | 796cc17f414b35708ae51e06f75f5a7d0205881b (patch) | |
tree | d54ec5911c52580f2433d30e780dae670b13f079 | |
parent | eeb1802055922417ca281ecc7822fbef50975f6d (diff) | |
download | hdf5-796cc17f414b35708ae51e06f75f5a7d0205881b.zip hdf5-796cc17f414b35708ae51e06f75f5a7d0205881b.tar.gz hdf5-796cc17f414b35708ae51e06f75f5a7d0205881b.tar.bz2 |
Changed casts to const void *
-rw-r--r-- | test/testhdf5.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testhdf5.h b/test/testhdf5.h index c36c4e1..127c687 100644 --- a/test/testhdf5.h +++ b/test/testhdf5.h @@ -86,11 +86,11 @@ #define CHECK_PTR_EQ(ret, val, where) { \ if (VERBOSE_HI) { \ print_func(" Call to routine: %15s at line %4d in %s returned %p\n", \ - (where), (int)__LINE__, __FILE__, (ret)); \ + (where), (int)__LINE__, __FILE__, (const void *)(ret)); \ } \ if (ret != val) { \ TestErrPrintf ("*** UNEXPECTED RETURN from %s: returned value of %p is not equal to %p line %4d in %s\n", \ - (where), (void *)(ret), (void *)(val), (int)__LINE__, __FILE__); \ + (where), (const void *)(ret), (const void *)(val), (int)__LINE__, __FILE__); \ H5Eprint2(H5E_DEFAULT, stdout); \ } \ } |