diff options
Diffstat (limited to 'test/links_env.c')
-rw-r--r-- | test/links_env.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/links_env.c b/test/links_env.c index 6b61921..c043281 100644 --- a/test/links_env.c +++ b/test/links_env.c @@ -50,9 +50,9 @@ static int external_link_env(hid_t fapl, bool new_format); static int external_link_env(hid_t fapl, bool new_format) { - hid_t fid = (-1); /* File ID */ - hid_t gid = (-1); /* Group IDs */ - const char *envval = NULL; /* Pointer to environment variable */ + hid_t fid = (H5I_INVALID_HID); /* File ID */ + hid_t gid = (H5I_INVALID_HID); /* Group IDs */ + const char *envval = NULL; /* Pointer to environment variable */ char filename1[NAME_BUF_SIZE], filename2[NAME_BUF_SIZE], filename3[NAME_BUF_SIZE]; /* Holders for filename */ |