summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-09-03 16:45:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-09-03 16:45:48 (GMT)
commit4bc1eccf9ad664ef3cdf2a24e9a1fb0e80c4995b (patch)
tree0c4d0130526d981eb730775dadb5e4cff072e2db /test
parent32a666f65243a0583be867935b892dd4ae13d1f4 (diff)
downloadhdf5-4bc1eccf9ad664ef3cdf2a24e9a1fb0e80c4995b.zip
hdf5-4bc1eccf9ad664ef3cdf2a24e9a1fb0e80c4995b.tar.gz
hdf5-4bc1eccf9ad664ef3cdf2a24e9a1fb0e80c4995b.tar.bz2
[svn-r7439] Purpose:
Code cleanup Description: Clear up a couple of minor issues with compiling the library with a C++ compiler. Platforms tested: FreeBSD 4.9 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'test')
-rw-r--r--test/errors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/errors.c b/test/errors.c
index af09592..3c40026 100644
--- a/test/errors.c
+++ b/test/errors.c
@@ -67,7 +67,7 @@ hid_t ERR_MIN_GETNUM;
#define SPACE2_DIM1 10
#define SPACE2_DIM2 10
-herr_t custom_print_cb(unsigned n, H5E_error_t *err_desc, void* client_data);
+herr_t custom_print_cb(unsigned n, const H5E_error_t *err_desc, void* client_data);
/*-------------------------------------------------------------------------
@@ -332,7 +332,7 @@ dump_error(hid_t estack)
*-------------------------------------------------------------------------
*/
herr_t
-custom_print_cb(unsigned n, H5E_error_t *err_desc, void* client_data)
+custom_print_cb(unsigned n, const H5E_error_t *err_desc, void* client_data)
{
FILE *stream = (FILE *)client_data;
char maj[MSG_SIZE];