summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-11-27 17:11:53 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-11-29 16:27:00 (GMT)
commiteeb1802055922417ca281ecc7822fbef50975f6d (patch)
tree20170027a54b07fdd094acd6bc9fc83508ac2ee3
parentfd5531e302aeff22f94f380bebc8a380a21cb120 (diff)
downloadhdf5-eeb1802055922417ca281ecc7822fbef50975f6d.zip
hdf5-eeb1802055922417ca281ecc7822fbef50975f6d.tar.gz
hdf5-eeb1802055922417ca281ecc7822fbef50975f6d.tar.bz2
Casted pointers to void to quiet warnings on Linux.
-rw-r--r--test/testhdf5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testhdf5.h b/test/testhdf5.h
index 6244524..c36c4e1 100644
--- a/test/testhdf5.h
+++ b/test/testhdf5.h
@@ -90,7 +90,7 @@
} \
if (ret != val) { \
TestErrPrintf ("*** UNEXPECTED RETURN from %s: returned value of %p is not equal to %p line %4d in %s\n", \
- (where), ret, val, (int)__LINE__, __FILE__); \
+ (where), (void *)(ret), (void *)(val), (int)__LINE__, __FILE__); \
H5Eprint2(H5E_DEFAULT, stdout); \
} \
}