diff options
Diffstat (limited to 'c++/examples/writedata.cpp')
-rw-r--r-- | c++/examples/writedata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp index 41fbd69..496c5d1 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, coord); + fspace.selectElements( H5S_SELECT_SET, NPOINTS, (const hsize_t *)coord); /* * Write new selection of points to the dataset. |