summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
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;
}