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 125081c..f249ade 100644 --- a/test/lheap.c +++ b/test/lheap.c @@ -155,7 +155,7 @@ main(void) goto error; } - if (HDstrcmp(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); |