summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-12-20 19:15:02 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-12-20 19:15:02 (GMT)
commit36e1d514c443bda81d9473e8a476f68738783df2 (patch)
tree468077b5eda607923c19ccea8fe2942b0aabfca8 /c++
parent371e2dda53830316b533ff1549848a82142e7406 (diff)
downloadhdf5-36e1d514c443bda81d9473e8a476f68738783df2.zip
hdf5-36e1d514c443bda81d9473e8a476f68738783df2.tar.gz
hdf5-36e1d514c443bda81d9473e8a476f68738783df2.tar.bz2
[svn-r13082] Purpose: Code cleanup
Description: Changed from hsize_t to int for rank constants to fix errors on Windows. Platform tested: Linux 2.6 (kagiso) Visual 6.0 on Windows XP
Diffstat (limited to 'c++')
-rw-r--r--c++/test/tattr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/test/tattr.cpp b/c++/test/tattr.cpp
index bd595fa..df9309c 100644
--- a/c++/test/tattr.cpp
+++ b/c++/test/tattr.cpp
@@ -76,14 +76,14 @@ const int ATTR2_DIM2 = 2;
int attr_data2[ATTR2_DIM1][ATTR2_DIM2]={{7614,-416},{197814,-3}}; /* Test data for 2nd attribute */
const H5std_string ATTR3_NAME("Attr3");
-const hsize_t ATTR3_RANK = 3;
+const int ATTR3_RANK = 3;
const hsize_t ATTR3_DIM1 = 2;
const hsize_t ATTR3_DIM2 = 2;
const hsize_t ATTR3_DIM3 = 2;
double attr_data3[ATTR3_DIM1][ATTR3_DIM2][ATTR3_DIM3]={{{2.3,-26.1},{0.123,-10.0}},{{981724.2,-0.91827},{2.0,23.0}}}; /* Test data for 3rd attribute */
const H5std_string ATTR4_NAME("Attr4");
-const hsize_t ATTR4_RANK = 2;
+const int ATTR4_RANK = 2;
const hsize_t ATTR4_DIM1 = 2;
const hsize_t ATTR4_DIM2 = 2;