diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-11-03 16:37:33 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-11-03 16:37:33 (GMT) |
commit | 76c7a5456f1c47184266f097dee1f42012bffd44 (patch) | |
tree | 5a91a6b09df77f9011ed68892e4130eaccb9ef97 /hl/test | |
parent | f68c4e1478ac5e627f89c5bf045cf24e11c61cf0 (diff) | |
parent | 60ed6c0df43205de7b3cad9e3b8a115c108abdeb (diff) | |
download | hdf5-76c7a5456f1c47184266f097dee1f42012bffd44.zip hdf5-76c7a5456f1c47184266f097dee1f42012bffd44.tar.gz hdf5-76c7a5456f1c47184266f097dee1f42012bffd44.tar.bz2 |
Merge remote-tracking branch 'canonical/develop' into hpcio/post_open_fix
Diffstat (limited to 'hl/test')
-rw-r--r-- | hl/test/test_packet_vlen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/test/test_packet_vlen.c b/hl/test/test_packet_vlen.c index c668a07..6d6bf34 100644 --- a/hl/test/test_packet_vlen.c +++ b/hl/test/test_packet_vlen.c @@ -539,8 +539,8 @@ test_VLof_VLtype(void) HDfprintf(stderr, "Cannot allocate memory for VL data! uu=%u\n", uu); goto error; } - t1->len = vv * 1; - for (ww = 0; ww < (vv * 1); ww++) + t1->len = vv + 1; + for (ww = 0; ww < (vv + 1); ww++) ((unsigned int *)t1->p)[ww] = uu * 100 + vv * 10 + ww; } /* end for */ } /* end for */ |