summaryrefslogtreecommitdiffstats
path: root/c++/test/tarray.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-03-09 03:30:02 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-03-09 03:30:02 (GMT)
commit20bfdeb2c16ded5bfefed3a505a73dbaca6e7e60 (patch)
tree2154822bcba629630db7bc2373c6c51536a69bf1 /c++/test/tarray.cpp
parent67432599a3b53496d0fa357634447356d44c81e5 (diff)
downloadhdf5-20bfdeb2c16ded5bfefed3a505a73dbaca6e7e60.zip
hdf5-20bfdeb2c16ded5bfefed3a505a73dbaca6e7e60.tar.gz
hdf5-20bfdeb2c16ded5bfefed3a505a73dbaca6e7e60.tar.bz2
[svn-r29361] Purpose: Correction
Description: Replaced static_cast with reinterpret_cast for "void *". Removed some commented-out old code. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'c++/test/tarray.cpp')
-rw-r--r--c++/test/tarray.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/c++/test/tarray.cpp b/c++/test/tarray.cpp
index e73cfd0..a6cbae4 100644
--- a/c++/test/tarray.cpp
+++ b/c++/test/tarray.cpp
@@ -94,9 +94,7 @@ static void test_array_compound_array()
for(idxk = 0; idxk < ARRAY1_DIM1; idxk++)
{
float temp = idxi * 10.0 + idxj * 2.5 + idxk;
- //wdata[idxi][idxj].f[idxk]=(float)(idxi * 10.0F + idxj * 2.5F + idxk);
wdata[idxi][idxj].f[idxk] = temp;
- //wdata[idxi][idxj].f[idxk] = static_cast<float>(temp);
}
} // end for