summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-11-27 17:11:53 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-11-27 17:11:53 (GMT)
commit8d8dc867a4919af7774a73fbd90633dcd4c1a4ed (patch)
tree291d4a99218f4f409b9d4c63a188159a6c30a732 /test
parent856e475c47ffd66668d2f868817357b4354f164b (diff)
downloadhdf5-8d8dc867a4919af7774a73fbd90633dcd4c1a4ed.zip
hdf5-8d8dc867a4919af7774a73fbd90633dcd4c1a4ed.tar.gz
hdf5-8d8dc867a4919af7774a73fbd90633dcd4c1a4ed.tar.bz2
Casted pointers to void to quiet warnings on Linux.
Diffstat (limited to 'test')
-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); \
} \
}