summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2007-02-20 16:20:41 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2007-02-20 16:20:41 (GMT)
commit003a86e772fd328841a14c689ccab681c092df31 (patch)
tree5f107d22740de3398e7ea11205865af44e02ecef
parent4486398a983615ef2561b331027e59ba75552304 (diff)
downloadhdf5-003a86e772fd328841a14c689ccab681c092df31.zip
hdf5-003a86e772fd328841a14c689ccab681c092df31.tar.gz
hdf5-003a86e772fd328841a14c689ccab681c092df31.tar.bz2
[svn-r13348] Minor change - a void pointer wasn't cast to a byte pointer.
-rw-r--r--src/H5Tconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 4c0cc40..f151a1a 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -2904,7 +2904,7 @@ H5T_conv_vlen(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts,
uint8_t *tmp_p;
/* TMP_P is reset each time in the loop because DST_BASE_SIZE may include some data in addition to VL info. - SLU */
for(u=seq_len; u<bg_seq_len; u++) {
- tmp_p = tmp_buf + u*dst_base_size;
+ tmp_p = (uint8_t*)tmp_buf + u*dst_base_size;
UINT32DECODE(tmp_p, parent_seq_len);
if(parent_seq_len>0) {
H5F_addr_decode(dst->shared->u.vlen.f, (const uint8_t **)&tmp_p, &(parent_hobjid.addr));