summaryrefslogtreecommitdiffstats
path: root/test/swmr_reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/swmr_reader.c')
-rw-r--r--test/swmr_reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/swmr_reader.c b/test/swmr_reader.c
index 61d7ef0..c4e206d 100644
--- a/test/swmr_reader.c
+++ b/test/swmr_reader.c
@@ -43,7 +43,7 @@ static int read_records(const char *filename, bool verbose, FILE *verbose_file,
/* Local Variables */
/*******************/
-static hid_t symbol_tid = -1; /* The type ID for the SWMR datasets */
+static hid_t symbol_tid = H5I_INVALID_HID; /* The type ID for the SWMR datasets */
/*-------------------------------------------------------------------------
* Function: check_dataset