summaryrefslogtreecommitdiffstats
path: root/test/testhdf5.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-11 15:29:46 (GMT)
committerGitHub <noreply@github.com>2022-07-11 15:29:46 (GMT)
commit460ee73a642db71872efa8e5c51dcf5aee554790 (patch)
tree196f786f98c1877e19cbcc6929a56250232f8805 /test/testhdf5.h
parentbe5de999a92ec1ba7853827ff0b5966f3569e792 (diff)
downloadhdf5-460ee73a642db71872efa8e5c51dcf5aee554790.zip
hdf5-460ee73a642db71872efa8e5c51dcf5aee554790.tar.gz
hdf5-460ee73a642db71872efa8e5c51dcf5aee554790.tar.bz2
Adds format attribute to additional functions (#1868)
* Adds format attribute to (s|p)io_perf code * Added gcc format attribute to additional test code * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/testhdf5.h')
-rw-r--r--test/testhdf5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testhdf5.h b/test/testhdf5.h
index c5b8246..d5c2d21 100644
--- a/test/testhdf5.h
+++ b/test/testhdf5.h
@@ -56,7 +56,7 @@
{ \
if (VERBOSE_HI) { \
print_func(" Call to routine: %15s at line %4d in %s returned %p\n", (where), (int)__LINE__, \
- __FILE__, (ret)); \
+ __FILE__, ((const void *)ret)); \
} \
if (!(ret)) { \
TestErrPrintf("*** UNEXPECTED RETURN from %s is NULL line %4d in %s\n", (where), (int)__LINE__, \
@@ -70,7 +70,7 @@
{ \
if (VERBOSE_HI) { \
print_func(" Call to routine: %15s at line %4d in %s returned %p\n", (where), (int)__LINE__, \
- __FILE__, (ret)); \
+ __FILE__, ((const void *)ret)); \
} \
if (ret) { \
TestErrPrintf("*** UNEXPECTED RETURN from %s is not NULL line %4d in %s\n", (where), \