summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-08-12 12:46:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-08-12 12:46:40 (GMT)
commit507a21125783ea03d75e8c6460212cd22f8466ee (patch)
treea8279d3036e2bf3b625d33a104ac35996e26dfcf /tools
parent4f61812180385bb969fee33eece609180cab4866 (diff)
downloadhdf5-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 'tools')
-rw-r--r--tools/h5dump/h5dumpgentest.c2
-rw-r--r--tools/h5repack/testh5repack_detect_szip.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c
index 0646536..2123bb3 100644
--- a/tools/h5dump/h5dumpgentest.c
+++ b/tools/h5dump/h5dumpgentest.c
@@ -1813,7 +1813,7 @@ static void gent_datareg(void)
coord1[7][0]=9; coord1[7][1]=0;
coord1[8][0]=7; coord1[8][1]=1;
coord1[9][0]=3; coord1[9][1]=3;
- H5Sselect_elements(sid2,H5S_SELECT_SET,POINT1_NPOINTS,coord1);
+ H5Sselect_elements(sid2,H5S_SELECT_SET,POINT1_NPOINTS,(hsize_t *)coord1);
H5Sget_select_npoints(sid2);
diff --git a/tools/h5repack/testh5repack_detect_szip.c b/tools/h5repack/testh5repack_detect_szip.c
index 9e6d74e..906996a 100644
--- a/tools/h5repack/testh5repack_detect_szip.c
+++ b/tools/h5repack/testh5repack_detect_szip.c
@@ -15,6 +15,7 @@
#include <stdio.h>
#include "h5repack.h"
+#include "h5tools.h"
#include "h5test.h"