Skip to content

Commit

Permalink
CHECK --> CHECK_PTR in tmisc.c
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins committed Mar 28, 2024
1 parent 1dfaef2 commit 5d0d2b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3982,7 +3982,7 @@ test_misc21(void)

/* Allocate space for the buffer */
buf = (char *)calloc(MISC21_SPACE_DIM0 * MISC21_SPACE_DIM1, 1);
CHECK(buf, NULL, "calloc");
CHECK_PTR(buf, "calloc");

/* Create the file */
fid = H5Fcreate(MISC21_FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
Expand Down Expand Up @@ -4068,7 +4068,7 @@ test_misc22(void)

/* Allocate space for the buffer */
buf = (char *)calloc(MISC22_SPACE_DIM0 * MISC22_SPACE_DIM1, 8);
CHECK(buf, NULL, "calloc");
CHECK_PTR(buf, "calloc");

/* Create a file access property list */
fapl = H5Pcreate(H5P_FILE_ACCESS);
Expand Down

0 comments on commit 5d0d2b7

Please sign in to comment.