summaryrefslogtreecommitdiffstats
path: root/test/tselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tselect.c')
-rw-r--r--test/tselect.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/tselect.c b/test/tselect.c
index 71136c8..12c18e7 100644
--- a/test/tselect.c
+++ b/test/tselect.c
@@ -361,7 +361,7 @@ test_select_point(hid_t xfer_plist)
VERIFY(temp_coord1[i][2],coord1[i][2],"H5Sget_select_elem_pointlist");
} /* end for */
- ret = H5Sget_select_npoints(sid1);
+ ret = (int)H5Sget_select_npoints(sid1);
VERIFY(ret, 10, "H5Sget_select_npoints");
/* Append another sequence of ten points to disk dataset */
@@ -386,7 +386,7 @@ test_select_point(hid_t xfer_plist)
VERIFY(temp_coord1[i][2],coord1[i][2],"H5Sget_select_elem_pointlist");
} /* end for */
- ret = H5Sget_select_npoints(sid1);
+ ret = (int)H5Sget_select_npoints(sid1);
VERIFY(ret, 20, "H5Sget_select_npoints");
/* Select sequence of ten points for memory dataset */
@@ -415,7 +415,7 @@ test_select_point(hid_t xfer_plist)
/* the next list of points to the beginning of the point selection list) */
HDmemcpy(((char *)pi.coord)+sizeof(coord2),coord2,sizeof(coord2));
- ret = H5Sget_select_npoints(sid2);
+ ret = (int)H5Sget_select_npoints(sid2);
VERIFY(ret, 10, "H5Sget_select_npoints");
/* Append another sequence of ten points to memory dataset */
@@ -439,7 +439,7 @@ test_select_point(hid_t xfer_plist)
VERIFY(temp_coord2[i][1],coord2[i][1],"H5Sget_select_elem_pointlist");
} /* end for */
- ret = H5Sget_select_npoints(sid2);
+ ret = (int)H5Sget_select_npoints(sid2);
VERIFY(ret, 20, "H5Sget_select_npoints");
/* Save points for later iteration */
@@ -481,7 +481,7 @@ test_select_point(hid_t xfer_plist)
VERIFY(temp_coord3[i][1],coord3[i][1],"H5Sget_select_elem_pointlist");
} /* end for */
- ret = H5Sget_select_npoints(sid2);
+ ret = (int)H5Sget_select_npoints(sid2);
VERIFY(ret, 10, "H5Sget_select_npoints");
/* Append another sequence of ten points to disk dataset */
@@ -505,7 +505,7 @@ test_select_point(hid_t xfer_plist)
VERIFY(temp_coord3[i][1],coord3[i][1],"H5Sget_select_elem_pointlist");
} /* end for */
- ret = H5Sget_select_npoints(sid2);
+ ret = (int)H5Sget_select_npoints(sid2);
VERIFY(ret, 20, "H5Sget_select_npoints");
/* Read selection from disk */