summaryrefslogtreecommitdiffstats
path: root/test/lheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lheap.c')
-rw-r--r--test/lheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lheap.c b/test/lheap.c
index ff7384e..0fd1349 100644
--- a/test/lheap.c
+++ b/test/lheap.c
@@ -154,7 +154,7 @@ main(void)
goto error;
}
- if (strcmp(s, buf)) {
+ if (HDstrcmp(s, buf) != 0) {
H5_FAILED();
HDprintf(" i=%d, heap offset=%lu\n", i, (unsigned long)(obj[i]));
HDprintf(" got: \"%s\"\n", s);