summaryrefslogtreecommitdiffstats
path: root/src/H5Ofill.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-05-20 18:43:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-05-20 18:43:31 (GMT)
commit03ab48c9c306fee878c4f3a97f858f90c078bfdf (patch)
tree5b2feadc09e9654a47f1af5d9512482fe36327d8 /src/H5Ofill.c
parent75494847bb75617e90edb001ff69e555532499fa (diff)
downloadhdf5-03ab48c9c306fee878c4f3a97f858f90c078bfdf.zip
hdf5-03ab48c9c306fee878c4f3a97f858f90c078bfdf.tar.gz
hdf5-03ab48c9c306fee878c4f3a97f858f90c078bfdf.tar.bz2
[svn-r5444] Purpose:
Code cleanup Description: Clean up warnings on IRIX64 6.5 (modi4) Platforms tested: IRIX64 6.5 (modi4)
Diffstat (limited to 'src/H5Ofill.c')
-rw-r--r--src/H5Ofill.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Ofill.c b/src/H5Ofill.c
index 4342f13..b50e2da 100644
--- a/src/H5Ofill.c
+++ b/src/H5Ofill.c
@@ -116,10 +116,10 @@ H5O_fill_new_decode(H5F_t UNUSED *f, const uint8_t *p,
}
/* Space allocation time */
- mesg->space_time = *p++;
+ mesg->space_time = (H5D_space_time_t)*p++;
/* Fill value write time */
- mesg->fill_time = *p++;
+ mesg->fill_time = (H5D_fill_time_t)*p++;
/* Whether fill value is defined */
mesg->fill_defined = *p++;
@@ -510,9 +510,9 @@ H5O_fill_new_reset(void *_mesg)
H5T_close(mesg->type);
mesg->type = NULL;
}
- mesg->space_time = 0;
- mesg->fill_time = 0;
- mesg->fill_defined = 0;
+ mesg->space_time = (H5D_space_time_t)0;
+ mesg->fill_time = (H5D_fill_time_t)0;
+ mesg->fill_defined = (H5D_fill_value_t)0;
FUNC_LEAVE(SUCCEED);
}
@@ -712,7 +712,7 @@ H5O_fill_convert(void *_fill, H5T_t *dset_type)
}
H5T_close(fill->type);
fill->type = NULL;
- fill->size = H5T_get_size(dset_type);
+ H5_ASSIGN_OVERFLOW(fill->size,H5T_get_size(dset_type),size_t,ssize_t);
ret_value = SUCCEED;
done: