summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 389de12..82c7084 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -9293,7 +9293,7 @@ H5T_conv_i_f (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts,
* Find the sign bit value of the source.
*/
if (H5T_SGN_2 == src.u.i.sign)
- sign = H5T_bit_get_d(int_buf, src.prec-1, 1);
+ sign = (size_t)H5T_bit_get_d(int_buf, src.prec-1, 1);
/*
* What is the bit position(starting from 0 as first one) for the most significant