diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2022-02-04 16:53:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 16:53:55 (GMT) |
commit | 36d9a165e428eb883f9fd72b6707555536292845 (patch) | |
tree | 61848a7a985725dcbb52daab3a986ff490cf909c /src/H5Dlayout.c | |
parent | 856de93673f2bd097b90e2803475ef4fc3d689fa (diff) | |
download | hdf5-36d9a165e428eb883f9fd72b6707555536292845.zip hdf5-36d9a165e428eb883f9fd72b6707555536292845.tar.gz hdf5-36d9a165e428eb883f9fd72b6707555536292845.tar.bz2 |
Fix a few issues noted by LGTM (#1421)
Diffstat (limited to 'src/H5Dlayout.c')
-rw-r--r-- | src/H5Dlayout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dlayout.c b/src/H5Dlayout.c index 6c4fc12..6fdec05 100644 --- a/src/H5Dlayout.c +++ b/src/H5Dlayout.c @@ -213,7 +213,7 @@ H5D__layout_meta_size(const H5F_t *f, const H5O_layout_t *layout, hbool_t includ ret_value++; /* Dimension sizes */ - ret_value += layout->u.chunk.ndims * layout->u.chunk.enc_bytes_per_dim; + ret_value += layout->u.chunk.ndims * (size_t)layout->u.chunk.enc_bytes_per_dim; /* Type of chunk index */ ret_value++; |