summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tfile.c2
-rw-r--r--test/tmisc.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/test/tfile.c b/test/tfile.c
index e76999f..b829133 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -1016,7 +1016,7 @@ test_file_freespace(void)
/* Create datasets in file */
for(u=0; u<10; u++) {
sprintf(name,"Dataset %u",u);
- dset = H5Dcreate(file, name, H5T_NATIVE_INT, dspace, dcpl);
+ dset = H5Dcreate(file, name, H5T_STD_U32LE, dspace, dcpl);
CHECK(dset, FAIL, "H5Dcreate");
ret = H5Dclose(dset);
diff --git a/test/tmisc.c b/test/tmisc.c
index 816c8cc..9b750c8 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -2826,7 +2826,7 @@ test_misc18(void)
CHECK(sid, FAIL, "H5Screate_simple");
/* Create first dataset */
- did1 = H5Dcreate(fid, MISC18_DSET1_NAME, H5T_NATIVE_INT, sid, H5P_DEFAULT);
+ did1 = H5Dcreate(fid, MISC18_DSET1_NAME, H5T_STD_U32LE, sid, H5P_DEFAULT);
CHECK(did1, FAIL, "H5Screate_simple");
/* Get object information */
@@ -2838,7 +2838,7 @@ test_misc18(void)
VERIFY(statbuf.ohdr.free, 152, "H5Gget_objinfo");
/* Create second dataset */
- did2 = H5Dcreate(fid, MISC18_DSET2_NAME, H5T_NATIVE_INT, sid, H5P_DEFAULT);
+ did2 = H5Dcreate(fid, MISC18_DSET2_NAME, H5T_STD_U32LE, sid, H5P_DEFAULT);
CHECK(did2, FAIL, "H5Screate_simple");
/* Get object information */
@@ -2855,14 +2855,14 @@ test_misc18(void)
sprintf(attr_name,"Attr %u",u);
/* Create & close attribute on first dataset */
- aid = H5Acreate(did1, attr_name, H5T_NATIVE_INT, sid, H5P_DEFAULT);
+ aid = H5Acreate(did1, attr_name, H5T_STD_U32LE, sid, H5P_DEFAULT);
CHECK(aid, FAIL, "H5Gget_objinfo");
ret = H5Aclose(aid);
CHECK(ret, FAIL, "HAclose");
/* Create & close attribute on second dataset */
- aid = H5Acreate(did2, attr_name, H5T_NATIVE_INT, sid, H5P_DEFAULT);
+ aid = H5Acreate(did2, attr_name, H5T_STD_U32LE, sid, H5P_DEFAULT);
CHECK(aid, FAIL, "H5Gget_objinfo");
ret = H5Aclose(aid);