summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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); \
} \
}