summaryrefslogtreecommitdiffstats
path: root/test/tselect.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-04-23 21:12:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-04-23 21:12:02 (GMT)
commitd6eb4d281f943ca52578f60a97c98f4a190b3043 (patch)
tree8d63dd84208f62c25d4e34be53a74c734a88a32a /test/tselect.c
parentacbad9533eb3bba58a9c33c27a7435ae33c72e36 (diff)
downloadhdf5-d6eb4d281f943ca52578f60a97c98f4a190b3043.zip
hdf5-d6eb4d281f943ca52578f60a97c98f4a190b3043.tar.gz
hdf5-d6eb4d281f943ca52578f60a97c98f4a190b3043.tar.bz2
[svn-r1211] Took out linefeeds from hyperslab.c and changed a datatype in tselect.c to make
it more portable.
Diffstat (limited to 'test/tselect.c')
-rw-r--r--test/tselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tselect.c b/test/tselect.c
index a538518..f94ee85 100644
--- a/test/tselect.c
+++ b/test/tselect.c
@@ -708,7 +708,7 @@ test_select_hyper_stride(void)
dataset=H5Dcreate(fid1,"Dataset1",H5T_STD_U16LE,sid1,H5P_DEFAULT);
/* Write selection to disk */
- ret=H5Dwrite(dataset,H5T_STD_U16LE,sid2,sid1,H5P_DEFAULT,wbuf);
+ ret=H5Dwrite(dataset,H5T_NATIVE_USHORT,sid2,sid1,H5P_DEFAULT,wbuf);
CHECK(ret, FAIL, "H5Dwrite");
/* Close memory dataspace */
@@ -728,7 +728,7 @@ test_select_hyper_stride(void)
CHECK(ret, FAIL, "H5Sselect_hyperslab");
/* Read selection from disk */
- ret=H5Dread(dataset,H5T_STD_U16LE,sid2,sid1,H5P_DEFAULT,rbuf);
+ ret=H5Dread(dataset,H5T_NATIVE_USHORT,sid2,sid1,H5P_DEFAULT,rbuf);
CHECK(ret, FAIL, "H5Dread");
/* Sort the locations into the proper order */