diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2007-02-03 20:30:44 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2007-02-03 20:30:44 (GMT) |
commit | a7aa86f7d89bbfd31eae159e15860ebbe19e7d03 (patch) | |
tree | e726a27a7945696697e4a307cec279335e0c99cc /c++/test/tcompound.cpp | |
parent | c78a1c555eecc9754224e4b1bb7de4faed66a360 (diff) | |
download | hdf5-a7aa86f7d89bbfd31eae159e15860ebbe19e7d03.zip hdf5-a7aa86f7d89bbfd31eae159e15860ebbe19e7d03.tar.gz hdf5-a7aa86f7d89bbfd31eae159e15860ebbe19e7d03.tar.bz2 |
[svn-r13231] Purpose: Clean up C++ tests
Description:
Cleaned up comments/unused variables in several test functions.
Fixed some mismatched type parameters shown up on Windows.
Platforms tested
Windows XP
AIX 5.1 (copper)
Linux 2.6 (kagiso)
Diffstat (limited to 'c++/test/tcompound.cpp')
-rw-r--r-- | c++/test/tcompound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/tcompound.cpp b/c++/test/tcompound.cpp index 27c759b..4789cf7 100644 --- a/c++/test/tcompound.cpp +++ b/c++/test/tcompound.cpp @@ -595,7 +595,7 @@ static void test_compound_6(void) buf = (unsigned char*)malloc(nelmts * MAX(sizeof(src_typ_t), sizeof(dst_typ_t))); bkg = (unsigned char*)malloc(nelmts * sizeof(dst_typ_t)); orig = (unsigned char*)malloc(nelmts * sizeof(src_typ_t)); - for (int i=0; i<nelmts; i++) { + for (i=0; i<nelmts; i++) { s_ptr = ((src_typ_t*)orig) + i; s_ptr->b = (i*8+1) & 0x7fff; s_ptr->d = (i*8+6) & 0x7fff; |