From e10e6721a6d79c75af76bf311b0e8189d447e358 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 16 Aug 2016 09:02:21 -0500 Subject: [svn-r30292] Description: Correct failure on older Windows compilers. Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming) --- test/error_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12