summaryrefslogtreecommitdiffstats
path: root/c++/examples/writedata.cpp
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-01-16 02:31:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-01-16 02:31:19 (GMT)
commit130b05d32821d3fc9086c5d0b3f5700bd8c673c1 (patch)
tree24f5a99a0456367e52c760015945aa85fb3aedf4 /c++/examples/writedata.cpp
parent6bc94eb9597e14f723daa0bd2464e7c2859eb296 (diff)
downloadhdf5-130b05d32821d3fc9086c5d0b3f5700bd8c673c1.zip
hdf5-130b05d32821d3fc9086c5d0b3f5700bd8c673c1.tar.gz
hdf5-130b05d32821d3fc9086c5d0b3f5700bd8c673c1.tar.bz2
[svn-r14424] Description:
Correct typo in C++ example program Tested on: Mac OS X/32 10.5.1 (amazon)
Diffstat (limited to 'c++/examples/writedata.cpp')
-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 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.