diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-08-12 12:46:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-08-12 12:46:40 (GMT) |
commit | 507a21125783ea03d75e8c6460212cd22f8466ee (patch) | |
tree | a8279d3036e2bf3b625d33a104ac35996e26dfcf /c++/test/dsets.cpp | |
parent | 4f61812180385bb969fee33eece609180cab4866 (diff) | |
download | hdf5-507a21125783ea03d75e8c6460212cd22f8466ee.zip hdf5-507a21125783ea03d75e8c6460212cd22f8466ee.tar.gz hdf5-507a21125783ea03d75e8c6460212cd22f8466ee.tar.bz2 |
[svn-r15462] Description:
Correct compiler warnings from Visual Studio.
Tested on:
Mac OS X/32 10.5.4 (amazon) w/FORTRAN & C++
(Too minor to require full h5committest)
Diffstat (limited to 'c++/test/dsets.cpp')
-rw-r--r-- | c++/test/dsets.cpp | 4 |
1 files changed, 2 insertions, 2 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++; } } |