From 0db530ac5a1a2c6413a1535808600b35053dbbb4 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Sat, 13 Aug 2005 14:18:02 -0500 Subject: [svn-r11242] Purpose: Code cleanup Description: Use enum type instead of int for datatype conversion exception callback routine. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest --- src/H5Tpublic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h index 2e0f17f..fdc25c0 100644 --- a/src/H5Tpublic.h +++ b/src/H5Tpublic.h @@ -211,8 +211,8 @@ typedef herr_t (*H5T_conv_t) (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, /* Exception handler. If an exception like overflow happenes during conversion, * this function is called if it's registered through H5Pset_type_conv_cb. */ -typedef H5T_conv_ret_t (*H5T_conv_except_func_t)(int except_type, hid_t src_id, - hid_t dst_id, void *src_buf, void *dst_buf, void *user_data); +typedef H5T_conv_ret_t (*H5T_conv_except_func_t)(H5T_conv_except_t except_type, + hid_t src_id, hid_t dst_id, void *src_buf, void *dst_buf, void *user_data); /* When this header is included from a private header, don't make calls to H5open() */ #undef H5OPEN -- cgit v0.12