diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/h5_select.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/h5_select.c b/examples/h5_select.c index 249f2ba..95117e9 100644 --- a/examples/h5_select.c +++ b/examples/h5_select.c @@ -170,8 +170,7 @@ main (void) coord[2][0] = 3; coord[2][1] = 5; coord[3][0] = 5; coord[3][1] = 6; - ret = H5Sselect_elements(fid, H5S_SELECT_SET, NPOINTS, - (const hsize_t **)coord); + ret = H5Sselect_elements(fid, H5S_SELECT_SET, NPOINTS, coord); /* * Write new selection of points to the dataset. |