mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r1211] Took out linefeeds from hyperslab.c and changed a datatype in tselect.c to make
it more portable.
This commit is contained in:
parent
acbad9533e
commit
d6eb4d281f
@ -618,8 +618,7 @@ test_multifill(size_t nx)
|
||||
dst = H5MM_malloc(nx * sizeof(*dst));
|
||||
#else
|
||||
/*
|
||||
to match the HDfree I plan on using to free this memory
|
||||
*/
|
||||
to match the HDfree I plan on using to free this memory */
|
||||
src = malloc(nx * sizeof(*src));
|
||||
dst = malloc(nx * sizeof(*dst));
|
||||
#endif
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user