summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/writedata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp
index 6381a5d..41fbd69 100644
--- a/c++/examples/writedata.cpp
+++ b/c++/examples/writedata.cpp
@@ -175,7 +175,7 @@ int main (void)
coord[2][0] = 3; coord[2][1] = 5;
coord[3][0] = 5; coord[3][1] = 6;
- fspace.selectElements( H5S_SELECT_SET, NPOINTS, (const hsize_t **)coord);
+ fspace.selectElements( H5S_SELECT_SET, NPOINTS, coord);
/*
* Write new selection of points to the dataset.