diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 17:15:45 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-11-27 17:15:45 (GMT) |
commit | 9fdd984cdea6fce8b5fdd16a7ccc3cc9bbca6fed (patch) | |
tree | e93efe342ecc2e7da27a7a68175efaa4468c8a05 /test | |
parent | 8d8dc867a4919af7774a73fbd90633dcd4c1a4ed (diff) | |
download | hdf5-9fdd984cdea6fce8b5fdd16a7ccc3cc9bbca6fed.zip hdf5-9fdd984cdea6fce8b5fdd16a7ccc3cc9bbca6fed.tar.gz hdf5-9fdd984cdea6fce8b5fdd16a7ccc3cc9bbca6fed.tar.bz2 |
Changed casts to const void *
Diffstat (limited to 'test')
-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); \ } \ } |