summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/err_compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/err_compat.c b/test/err_compat.c
index a4d0968..beb6bfc 100644
--- a/test/err_compat.c
+++ b/test/err_compat.c
@@ -42,7 +42,7 @@ int ipoints2[DIM0][DIM1], icheck2[DIM0][DIM1];
#define DSET_NAME "a_dataset"
#define FAKE_ID -1
-herr_t custom_print_cb(unsigned n, const H5E_error1_t *err_desc, void* client_data);
+herr_t custom_print_cb(int n, H5E_error1_t *err_desc, void* client_data);
/*-------------------------------------------------------------------------
@@ -184,7 +184,7 @@ dump_error(void)
*-------------------------------------------------------------------------
*/
herr_t
-custom_print_cb(unsigned n, const H5E_error1_t *err_desc, void* client_data)
+custom_print_cb(int n, H5E_error1_t *err_desc, void* client_data)
{
FILE *stream = (FILE *)client_data;
char *maj;