summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2000-11-30 20:12:14 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2000-11-30 20:12:14 (GMT)
commitf686e853aaeddc164cd85f722b4c6b32f715efc8 (patch)
treeb58355afd1f0a5ac75a973f62562c8b43470b08e /tools
parent0d62839e12c50d8d29039f8a6ec6007ffac13ff9 (diff)
downloadhdf5-f686e853aaeddc164cd85f722b4c6b32f715efc8.zip
hdf5-f686e853aaeddc164cd85f722b4c6b32f715efc8.tar.gz
hdf5-f686e853aaeddc164cd85f722b4c6b32f715efc8.tar.bz2
[svn-r3040]
Purpose: bug_fix Description: forget changing offset from file offset into memory offset when inserting array datatype Solution: correct them Platforms tested: J90
Diffstat (limited to 'tools')
-rw-r--r--tools/h4toh5vdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h4toh5vdata.c b/tools/h4toh5vdata.c
index 25624a5..68bfacb 100644
--- a/tools/h4toh5vdata.c
+++ b/tools/h4toh5vdata.c
@@ -779,7 +779,7 @@ int gen_h5comptype(int32 vdata_id,int32 nfields,
return FAIL;
}
- if(H5Tinsert(h5_cmemtype,fieldname,fil_offset,arr_type)<0) {
+ if(H5Tinsert(h5_cmemtype,fieldname,mem_offset,arr_type)<0) {
printf("error inserting array into hdf5 compound datatype for memory. \n");
return FAIL;
}