diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2022-05-03 17:01:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 17:01:28 (GMT) |
commit | f360225b10fb84b6e51376e814c92f694e3f9627 (patch) | |
tree | 49d64eb9e5414112222cb97c3e10293d11ac3aeb /src/H5Odtype.c | |
parent | 02a5508e50073cd533a150ac923b028d1d7af013 (diff) | |
download | hdf5-f360225b10fb84b6e51376e814c92f694e3f9627.zip hdf5-f360225b10fb84b6e51376e814c92f694e3f9627.tar.gz hdf5-f360225b10fb84b6e51376e814c92f694e3f9627.tar.bz2 |
Align H5T code with develop to quiet warnings (#1717)
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r-- | src/H5Odtype.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c index ac03410..b6a752a 100644 --- a/src/H5Odtype.c +++ b/src/H5Odtype.c @@ -1745,7 +1745,8 @@ H5O__dtype_debug(H5F_t *f, const void *mesg, FILE *stream, int indent, int fwidt HDfprintf(stream, "%*s%-*s 0x", indent, "", fwidth, "Raw bytes of value:"); for (k = 0; k < dt->shared->parent->shared->size; k++) HDfprintf(stream, "%02x", - dt->shared->u.enumer.value[i * dt->shared->parent->shared->size + k]); + (unsigned)*((uint8_t *)dt->shared->u.enumer.value + + (i * dt->shared->parent->shared->size) + k)); HDfprintf(stream, "\n"); } /* end for */ } /* end else if */ |