[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)
This commit is contained in:
Binh-Minh Ribler
2016-03-08 22:30:02 -05:00
parent 67432599a3
commit 20bfdeb2c1
3 changed files with 16 additions and 18 deletions

View File

@@ -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