summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-03-30 20:41:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-03-30 20:41:45 (GMT)
commitc3d9b510b4e65cd32ec9708fd369d31b77d76ea6 (patch)
tree832b08d9ee2005012e8266a010c5686e31d81737 /src/H5Tconv.c
parent8eb5f818bab32fcf61cf805b880c5cc4dd1e98bc (diff)
downloadhdf5-c3d9b510b4e65cd32ec9708fd369d31b77d76ea6.zip
hdf5-c3d9b510b4e65cd32ec9708fd369d31b77d76ea6.tar.gz
hdf5-c3d9b510b4e65cd32ec9708fd369d31b77d76ea6.tar.bz2
[svn-r8287] Purpose:
Bug fix/code cleanup Description: Copy Robb's feature in SSlib that checks that the name of the function used in the FUNC_ENTER macro is actually the name of function. Fixed a bunch of typos & copy-n-pasto's for functions with incorrect names. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel too minor to require h5committest
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index fde424c..23c5adc 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -5991,7 +5991,7 @@ H5T_conv_ulong_llong(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata,
{
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5T_conv_long_llong, FAIL);
+ FUNC_ENTER_NOAPI(H5T_conv_ulong_llong, FAIL);
H5T_CONV_uS(ULONG, LLONG, unsigned long, long_long, -, LLONG_MAX);
@@ -6689,7 +6689,7 @@ H5T_conv_double_float (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata,
{
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5T_conv_float_double, FAIL);
+ FUNC_ENTER_NOAPI(H5T_conv_double_float, FAIL);
H5T_CONV_Ff(DOUBLE, FLOAT, double, float, -FLT_MAX, FLT_MAX);
@@ -7970,7 +7970,7 @@ H5T_conv_double_ullong (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata,
{
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5T_conv_double_ulong, FAIL);
+ FUNC_ENTER_NOAPI(H5T_conv_double_ullong, FAIL);
H5T_CONV_Fx(DOUBLE, ULLONG, double, unsigned long_long, 0, ULLONG_MAX);
@@ -8600,7 +8600,7 @@ H5T_conv_f_i (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts,
* Shift mantissa part by exponent minus mantissa size(right shift),
* or by mantissa size minus exponent(left shift).
*/
- H5T_bit_shift(int_buf, (expo-src.u.f.msize), buf_size);
+ H5T_bit_shift(int_buf, (ssize_t)(expo-src.u.f.msize), buf_size);
/* Convert to integer representation if negative.
* equivalent to ~(value - 1).