diff options
Diffstat (limited to 'test/cache_logging.c')
-rw-r--r-- | test/cache_logging.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cache_logging.c b/test/cache_logging.c index e551e1f..7113108 100644 --- a/test/cache_logging.c +++ b/test/cache_logging.c @@ -32,7 +32,7 @@ static const char *FILENAME[] = {"cache_logging", NULL}; static herr_t test_logging_api(void) { - hid_t fapl = -1; + hid_t fapl = H5I_INVALID_HID; bool is_enabled; bool is_enabled_out; bool start_on_access; @@ -40,8 +40,8 @@ test_logging_api(void) char *location = NULL; size_t size; - hid_t fid = -1; - hid_t gid = -1; + hid_t fid = H5I_INVALID_HID; + hid_t gid = H5I_INVALID_HID; bool is_currently_logging; char group_name[12]; char filename[1024]; |