summaryrefslogtreecommitdiffstats
path: root/test/error_test.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-08-16 14:02:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-08-16 14:02:21 (GMT)
commite10e6721a6d79c75af76bf311b0e8189d447e358 (patch)
tree3cef6e8ad52ad6d58966732c473511ebad581a83 /test/error_test.c
parent197b29ced6edb455ebac3d78f916d763a58a0d72 (diff)
downloadhdf5-e10e6721a6d79c75af76bf311b0e8189d447e358.zip
hdf5-e10e6721a6d79c75af76bf311b0e8189d447e358.tar.gz
hdf5-e10e6721a6d79c75af76bf311b0e8189d447e358.tar.bz2
[svn-r30292] Description:
Correct failure on older Windows compilers. Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
Diffstat (limited to 'test/error_test.c')
-rw-r--r--test/error_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/error_test.c b/test/error_test.c
index 5a7741f..b150656 100644
--- a/test/error_test.c
+++ b/test/error_test.c
@@ -284,7 +284,7 @@ error_stack(void)
/* Make it push error, force this function to fail */
if((err_num = H5Eget_num(ERR_STACK)) == 0) {
H5Epush(ERR_STACK, __FILE__, FUNC_error_stack, __LINE__, ERR_CLS, ERR_MAJ_API, ERR_MIN_GETNUM,
- "Get number test failed, returned %zd", err_num);
+ "Get number test failed, returned %d", (int)err_num);
goto error;
} /* end if */