diff options
Diffstat (limited to 'test/lheap.c')
-rw-r--r-- | test/lheap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lheap.c b/test/lheap.c index 8e27113..5c1b5ec 100644 --- a/test/lheap.c +++ b/test/lheap.c @@ -103,7 +103,7 @@ main(void) if (j > 4) buf[j] = '\0'; - if (UFAIL == (obj[i] = H5HL_insert(f, heap, HDstrlen(buf) + 1, buf))) { + if (H5HL_insert(f, heap, HDstrlen(buf) + 1, buf, &obj[i]) < 0) { H5_FAILED(); H5Eprint2(H5E_DEFAULT, stdout); goto error; |