diff options
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/dsets.cpp | 4 | ||||
-rw-r--r-- | c++/test/tfilter.cpp | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/c++/test/dsets.cpp b/c++/test/dsets.cpp index 652149e..603a0aa 100644 --- a/c++/test/dsets.cpp +++ b/c++/test/dsets.cpp @@ -423,7 +423,7 @@ test_compression(H5File& file) for (i = n = 0; i < 100; i++) { for (j = 0; j < 200; j++) { - points[i][j] = n++; + points[i][j] = (int)n++; } } char* tconv_buf = new char [1000]; @@ -487,7 +487,7 @@ test_compression(H5File& file) { for (j=0; j<size[1]; j++) { - points[i][j] = n++; + points[i][j] = (int)n++; } } diff --git a/c++/test/tfilter.cpp b/c++/test/tfilter.cpp index 1774cf2..db7e358 100644 --- a/c++/test/tfilter.cpp +++ b/c++/test/tfilter.cpp @@ -118,7 +118,7 @@ static void test_null_filter() // Output message about test being performed SUBTEST("'Null' filter"); try { - hsize_t null_size; // Size of dataset with null filter + //hsize_t null_size; // Size of dataset with null filter // Prepare dataset create property list DSetCreatPropList dsplist; @@ -168,7 +168,6 @@ void test_szip_filter(H5File& file1) { #ifdef H5_HAVE_FILTER_SZIP int points[DSET_DIM1][DSET_DIM2], check[DSET_DIM1][DSET_DIM2]; - hsize_t szip_size; /* Size of dataset with szip filter */ unsigned szip_options_mask=H5_SZIP_NN_OPTION_MASK; unsigned szip_pixels_per_block=4; @@ -203,7 +202,7 @@ void test_szip_filter(H5File& file1) { for (j=0; j<size[1]; j++) { - points[i][j] = n++; + points[i][j] = (int)n++; } } |