summaryrefslogtreecommitdiffstats
path: root/test/tid.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tid.c')
-rw-r--r--test/tid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tid.c b/test/tid.c
index 1f30a4f..0a45116 100644
--- a/test/tid.c
+++ b/test/tid.c
@@ -715,7 +715,7 @@ test_remove_clear_type(void)
for (i = 0; i < RCT_NITER; i++) {
/* The number of members in the type, according to the HDF5 library */
- hsize_t nmembers = 1234567;
+ hsize_t nmembers = 1234567; /* (init to fake number) */
/* The number of objects found while scanning through the object list */
int found;
@@ -801,7 +801,7 @@ test_remove_clear_type(void)
if (ret == FAIL)
goto error;
VERIFY(nmembers, found, "The number of members remaining in the type did not match our count");
- if (nmembers != found)
+ if (nmembers != (hsize_t)found)
goto error;
/*****************************************