diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-11-24 15:53:55 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-11-24 15:53:55 (GMT) |
commit | 0dfd13d13b2587cbdc3388a205159c25eb83588f (patch) | |
tree | 9a5b5fea712a6c8a12712762784dc848c548d6e3 /src/H5Tconv.c | |
parent | 9db8ce23f6d3014ff6b2901580faa37bdecae4fa (diff) | |
download | hdf5-0dfd13d13b2587cbdc3388a205159c25eb83588f.zip hdf5-0dfd13d13b2587cbdc3388a205159c25eb83588f.tar.gz hdf5-0dfd13d13b2587cbdc3388a205159c25eb83588f.tar.bz2 |
[svn-r946] Changes since 19981121
----------------------
./src/H5Tconv.c
With my poor eyesight I missed the definitions of SCHAR_MIN
and SCHAR_MAX in <limits.h> and used CHAR_MIN and CHAR_MAX
incorrectly. I changed all occurrences of the latter to the
former and the new hardware integer type conversions now work
on Irix.
./configure.in
./configure [REGENERATED]
./src/H5config.h.in [REGENERATED]
./src/H5private.h
./src/H5.c
./test/h5test.c
Added a wrapper for HDsnprintf() that just calls sprintf() if
snprintf() isn't available.
./MANIFEST
Added Paul's new h5toh4 files.
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r-- | src/H5Tconv.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 481437e..914c255 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -2023,7 +2023,7 @@ H5T_conv_uchar_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_char_short, FAIL); H5T_CONV_us(cdata, src_id, dst_id, buf, nelmts, - unsigned char, signed char, CHAR_MAX); + unsigned char, signed char, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } @@ -2481,7 +2481,7 @@ H5T_conv_short_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_short_char, FAIL); H5T_CONV_Ss(cdata, src_id, dst_id, buf, nelmts, - short, signed char, CHAR_MIN, CHAR_MAX); + short, signed char, SCHAR_MIN, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } @@ -2535,7 +2535,7 @@ H5T_conv_ushort_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_ushort_char, FAIL); H5T_CONV_Us(cdata, src_id, dst_id, buf, nelmts, - unsigned short, signed char, CHAR_MAX); + unsigned short, signed char, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } @@ -2965,7 +2965,7 @@ H5T_conv_int_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_int_char, FAIL); H5T_CONV_Ss(cdata, src_id, dst_id, buf, nelmts, - int, signed char, CHAR_MIN, CHAR_MAX); + int, signed char, SCHAR_MIN, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } @@ -3019,7 +3019,7 @@ H5T_conv_uint_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_uint_char, FAIL); H5T_CONV_Us(cdata, src_id, dst_id, buf, nelmts, - unsigned, signed char, CHAR_MAX); + unsigned, signed char, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } @@ -3450,7 +3450,7 @@ H5T_conv_long_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_long_char, FAIL); H5T_CONV_Ss(cdata, src_id, dst_id, buf, nelmts, - long, signed char, CHAR_MIN, CHAR_MAX); + long, signed char, SCHAR_MIN, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } @@ -3504,7 +3504,7 @@ H5T_conv_ulong_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_ulong_char, FAIL); H5T_CONV_Us(cdata, src_id, dst_id, buf, nelmts, - unsigned long, signed char, CHAR_MAX); + unsigned long, signed char, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } @@ -3936,7 +3936,7 @@ H5T_conv_llong_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_llong_char, FAIL); H5T_CONV_Ss(cdata, src_id, dst_id, buf, nelmts, - long_long, signed char, CHAR_MIN, CHAR_MAX); + long_long, signed char, SCHAR_MIN, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } @@ -3990,7 +3990,7 @@ H5T_conv_ullong_char(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, { FUNC_ENTER(H5T_conv_ullong_char, FAIL); H5T_CONV_Us(cdata, src_id, dst_id, buf, nelmts, - unsigned long_long, signed char, CHAR_MAX); + unsigned long_long, signed char, SCHAR_MAX); FUNC_LEAVE(SUCCEED); } |