diff options
author | Quincey Koziol <koziol@koziol.gov> | 2019-07-10 03:15:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2019-07-10 03:15:36 (GMT) |
commit | db7c43d375f6997dfc44d6153e7b015da571a8c9 (patch) | |
tree | 4f2c1e23d42540d4ea86870c29f11c217e2e566e /tools/src | |
parent | 78e13fe8b09f4398519f58552d42651712284c76 (diff) | |
download | hdf5-db7c43d375f6997dfc44d6153e7b015da571a8c9.zip hdf5-db7c43d375f6997dfc44d6153e7b015da571a8c9.tar.gz hdf5-db7c43d375f6997dfc44d6153e7b015da571a8c9.tar.bz2 |
Updates to warnhist script, along with a few cleanups, and add some comments
to warning cleanups that are a bit obscure.
Diffstat (limited to 'tools/src')
-rw-r--r-- | tools/src/h5repack/h5repack_refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5repack/h5repack_refs.c b/tools/src/h5repack/h5repack_refs.c index 610c21c..f5846ba 100644 --- a/tools/src/h5repack/h5repack_refs.c +++ b/tools/src/h5repack/h5repack_refs.c @@ -692,7 +692,7 @@ static int copy_refs_attr(hid_t loc_in, size_t idx = (i * msize) + H5Tget_member_offset(mtype_id, ref_comp_index[j]); hobj_ref_t ref_out; - if (update_ref_value(attr_id, H5R_OBJECT, (hobj_ref_t *)((void *)(((char *)buf)+idx)), fidout, &ref_out, travt)<0) + if (update_ref_value(attr_id, H5R_OBJECT, (hobj_ref_t *)((void *)(((char *)buf)+idx)), fidout, &ref_out, travt) < 0) /* Extra (void *) cast to quiet "cast to create alignment" warning - 2019/07/05, QAK */ continue; HDmemcpy(((char *)buf)+idx, &ref_out, ref_comp_size[j]); } /* if */ |