summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-10-18 16:22:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-10-18 16:22:45 (GMT)
commit07d218b717d42d99a4c48fa8d14e29ed7e998d43 (patch)
tree7b4ccd79d1634ed49bd507879964e57b88de7be0 /src/H5Tpublic.h
parent3cea3093c854b225088c4cabe140b333d08e5462 (diff)
downloadhdf5-07d218b717d42d99a4c48fa8d14e29ed7e998d43.zip
hdf5-07d218b717d42d99a4c48fa8d14e29ed7e998d43.tar.gz
hdf5-07d218b717d42d99a4c48fa8d14e29ed7e998d43.tar.bz2
[svn-r2693] Purpose:
Bug fix (bug #446) Description: H5Tget_offset return type was size_t and the error return value was 0, but 0 is also a valid successful return value. Solution: Changed the return type to int and the error return value to -1 Platforms tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index 6e65dd7..5d218a9 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -483,7 +483,7 @@ __DLL__ H5T_class_t H5Tget_class(hid_t type_id);
__DLL__ size_t H5Tget_size(hid_t type_id);
__DLL__ H5T_order_t H5Tget_order(hid_t type_id);
__DLL__ size_t H5Tget_precision(hid_t type_id);
-__DLL__ size_t H5Tget_offset(hid_t type_id);
+__DLL__ int H5Tget_offset(hid_t type_id);
__DLL__ herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb/*out*/,
H5T_pad_t *msb/*out*/);
__DLL__ H5T_sign_t H5Tget_sign(hid_t type_id);