summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-01-07 16:39:27 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-01-07 16:39:27 (GMT)
commit47f3d57c004b40df90a17c662ca4ab30e72461f1 (patch)
tree693fd079a865e39e27b238d8f2a4da2ab1c0c0b1 /src/H5Odtype.c
parent54604e8fc568619ad16d2c8c10333a0b13044626 (diff)
downloadhdf5-47f3d57c004b40df90a17c662ca4ab30e72461f1.zip
hdf5-47f3d57c004b40df90a17c662ca4ab30e72461f1.tar.gz
hdf5-47f3d57c004b40df90a17c662ca4ab30e72461f1.tar.bz2
[svn-r1015] Got rid of some warning messages.
Tested in O2K.
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index 2a5d7f3..662d2d4 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -256,7 +256,7 @@ H5O_dtype_decode_helper(const uint8_t **pp, H5T_t *dt)
dt->u.atomic.offset = 0;
dt->u.atomic.lsb_pad = H5T_PAD_ZERO;
dt->u.atomic.msb_pad = H5T_PAD_ZERO;
- dt->u.atomic.u.r.rtype = flags & 0x0f;
+ dt->u.atomic.u.r.rtype = (H5R_type_t)(flags & 0x0f);
break;
default: