summaryrefslogtreecommitdiffstats
path: root/test/lheap.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-10-24 13:05:13 (GMT)
committerGitHub <noreply@github.com>2020-10-24 13:05:13 (GMT)
commit313a8c8546b3b975fba722b015c8c8269dd240cb (patch)
treeabbc9530d2a1460110e6b41af9de071deb66ead0 /test/lheap.c
parent2c3cf8240f45508dea02cab08fa67c2a775cab58 (diff)
parent2ae59f1c6199c62d6efeb43f91924e06f1fd6248 (diff)
downloadhdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.zip
hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.tar.gz
hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.tar.bz2
Merge pull request #59 from derobins/trivial/HDprefix
HD prefix updates in src/ and test/
Diffstat (limited to 'test/lheap.c')
-rw-r--r--test/lheap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lheap.c b/test/lheap.c
index 17e3082..27e025e 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, strlen(buf) + 1, buf))) {
+ if (UFAIL == (obj[i] = H5HL_insert(f, heap, HDstrlen(buf) + 1, buf))) {
H5_FAILED();
H5Eprint2(H5E_DEFAULT, stdout);
goto error;
@@ -155,7 +155,7 @@ main(void)
goto error;
}
- if (strcmp(s, buf)) {
+ if (HDstrcmp(s, buf)) {
H5_FAILED();
HDprintf(" i=%d, heap offset=%lu\n", i, (unsigned long)(obj[i]));
HDprintf(" got: \"%s\"\n", s);